On Fri, Sep 24, 2010 at 11:54 AM, Olivier.Roger <olivier.ro...@bsb.com> wrote:
>
> 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,
>

Chapter 8 of the Camel in Action book goes in depth how to handle this
with the splitter EIP.

> 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.
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to