I have camel loop configured within the main route of camelContext.xml file that would invoke request processing route 3 times. I have also configured onException xml handler (set handled to true).
However, when there is an exception on the first iteration the execution control goes to onException block but loop doesn’t stop processing instead the other 2 iterations (2nd and 3rd) do happen too.
I would like to have loop stopped as soon as exception occurs.
Can anyone please help
Thanks in advance