remove

public B remove<T extends Message>(Class<M> eventClass, Class<T> enrichmentClass)

Removes the enrichment function for the passed event class.

If the function for this class was not added, the call has no effect.