Hi Thanks for reporting. I created a JIRA https://issues.apache.org/jira/browse/CAMEL-5110
On Fri, Mar 9, 2012 at 10:56 AM, razvan.ludvig <[email protected]> wrote: > Hi. > > I started from the following unit test and made some changes to reproduce an > issue we encountered in our application: > https://fisheye6.atlassian.com/browse/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/SplitSubUnitOfWorkStopOnExceptionTest.java?r=1134194&r=1209585&r=1209585 > > Replace lines 67-68 > > > With these lines: > > > > The behaviour should be identical, if I understand the error handling > mechanism correctly, but it isn't. Removing the sharedUnitOfWork() will make > the test pass (with minor tweaks for the expected values). > > For more fun, comment out the following line. It will generate a > StackOverflowError. > > > Cheers! > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Error-handling-issue-for-splitter-with-sharedUnitOfWork-and-stopOnException-tp5550093p5550093.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
