Re: *QUESTION* Apache Camel To D - Try Catch Finally

2022-09-22 Thread Claus Ibsen
Hi There is no screenshot in this email. But if you call a sub route then it has its own error handler, so you need to turn this off for the route to let it work with your doTry .. doCatch. Or avoid calling a sub route. On Thu, Sep 22, 2022 at 3:37 PM Brian Lee wrote: > Dear Mr/Mrs, > > I'm try

*QUESTION* Apache Camel To D - Try Catch Finally

2022-09-22 Thread Brian Lee
Dear Mr/Mrs, I'm trying to use doTry, doCatch, and doFinally for ToD as shown in the screenshot. However, the error was thrown inside the "sub-route" called in ToD and it was not catch by DoCatch. May I know if there is any other way to catch error while calling ToD, and ignore the exception?