I have a scenario using Multicast and I want to stop the execution if any one of the routes in multicast fails, So I used stoponException along with multicast. Though I have appropriate error handlers written I end up receiving 'org.apache.camel.CamelExchangeException: Parallel processing failed for number 0' when there is exception at one of the sub route.
An exception(CustomException) is thrown in the firstprocessor and caught at onException(), but at the end I receive this Parallel processing exception. I want to throw my custom exception instead of this parallelprocessing exception. I am confused here, Can someone provide your suggestions on this?
I use Camel 2.9 in fuse-esb-full-7.0.0.fuse-061.
Thank you! I do use the exception handling in my route but the problem is when I use stoponexception, On an exception the execution stops and throws 'parallel processing exception' instead of custom exception. May be that's the behaviour. Any thoughts on this?