Multicast Processor - Add option to stop further processing in case of an
exception occurred
--------------------------------------------------------------------------------------------
Key: CAMEL-1984
URL: https://issues.apache.org/activemq/browse/CAMEL-1984
Project: Apache Camel
Issue Type: New Feature
Components: camel-core
Affects Versions: 2.0.0
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.1.0
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)
{code}
/**
* 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;
}
{code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.