The combination of skip skipSendToEndpoint with a when predicate behaves differently depending on the Camel version: - Before Camel 2.10: the skipping is applied unconditionally whether the
when predicate is matched or not, i.e. the when predicate only determines whether the body of the interception will execute, but it does not control skipping behaviour - As of Camel 2.10: the skipping only occurs if the
when predicate is matched, leading to more natural logic altogether.
|