Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
I think there is a old ticket about this as well, where XXX does not throw exception if an exception failed. But I cant find it. So creating a new ticket.
We should add this option to multicast (hence also splitter as its based on multicast)
/** * Will now stop further processing if an exception occurred during processing of an * {@link org.apache.camel.Exchange} and the caused exception will be thrown. * <p/> * The default behavior is to <b>not</b> stop but continue processing till the end * * @return the builder */ public MulticastDefinition stopOnException() { setStopOnException(true); return this; }