Method OnWhen(Func<IExchange, bool>)

Assembly: redb.Route.dll

Conditional predicate — only handle when predicate returns true.

public OnExceptionDefinition OnWhen(Func<IExchange, bool> predicate)