camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier.Roger" <olivier.ro...@bsb.com>
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,

Olivier
-- 
View this message in context: http://camel.465427.n5.nabble.com/Splitter-stopOnException-behavior-tp2852371p2852371.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message