Re: problem propagating exceptions with splitter and aggregator

2012-02-03 Thread Claus Ibsen
The splitter has aggregator built-in, use that instead, eg there is a strategyRef option on On Fri, Feb 3, 2012 at 6:49 PM, regvito wrote: > As shown above, I already have shareUnitOfWork="true". > The splitter works fine when my bean is called from within it > and throws an error.  The file g

Re: problem propagating exceptions with splitter and aggregator

2012-02-03 Thread regvito
As shown above, I already have shareUnitOfWork="true". The splitter works fine when my bean is called from within it and throws an error. The file gets moved to the error folder. But when I add an aggregator within the splitter and the bean throws an exception, it doesn't move the file to the erro

Re: problem propagating exceptions with splitter and aggregator

2012-02-03 Thread Claus Ibsen
Hi Use the shareUnitOfWork option as documented on the Splitter EIP page http://camel.apache.org/splitter On Fri, Feb 3, 2012 at 1:08 AM, regvito wrote: > I have a consumer file endpoint where I want it to send the file to an error > folder using moveFailed > if there are any errors processing t