camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier.Roger" <>
Subject [Splitter] stopOnException behavior
Date Fri, 24 Sep 2010 09:54:48 GMT

Hello Camel !

I am using Camel 2.4.

After reading the documentation I was still wondering how error handling can
be performed when using the splitter with POJO as aggregationStrategy.
My POJO mehod is returning a List<Message> Object containing all my parts.

I would like to avoid that only some part of my original message are sent to
the route in case of Exception, so I guess setting the stopOnException is
what I need. 
Can I be sure that, in a transacted route, if a Exception occurs in the
split algorithm, everything will be rollbacked ?

Thanks in advance,

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message