Re: onCompletion doesn't get executed when onException handler is triggerred

2017-10-18 Thread Mary Cochran
Have you tried externalizing the onCompletion(), such as putting this as a separate statement above your route and below the onException() onCompletion() .log("parallel processing is done") .setBody(constant(null)).to("direct:c"); Mary Mary Cochran Red Hat Consulting

Re: onCompletion doesn't get executed when onException handler is triggerred

2017-10-11 Thread LiQiang Ye
Claus, I found that the route that main route that contains multicast will stop routing after "direct:a" hits exception handler. So I want to know how I can make the route continue routing even if "direct:a" hits exception and does its retries and stops. from("timer:reload-config?delay=" +

onCompletion doesn't get executed when onException handler is triggerred

2017-10-10 Thread LiQiang Ye
Hi camel friends I have routes designed as below. I wonder how I can make onCompletion() block to execute route "c" even though route "a" or route "b" has exception occurs. Currently when a processing route "a" or "b" encounters exception and retries, the route will stop routing further and