Method Validate(Func<IExchange, bool>, string, bool)
Validates the exchange using a predicate function.
IRouteDefinition Validate(Func<IExchange, bool> predicate, string errorMessage = "Validation failed", bool throwOnFailure = true)
Validates the exchange using a predicate function.
IRouteDefinition Validate(Func<IExchange, bool> predicate, string errorMessage = "Validation failed", bool throwOnFailure = true)