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.

Reply via email to