RE: errorHandler + onException

2020-05-28 Thread Shultz, Dmitry
e... 12:41:19.154 [main] INFO route6 - token is good I.e. route2 is started twice before getting into the doCatch() code. Im curious why this is happening? Cheers, Dmitry -Original Message- From: Shultz, Dmitry Sent: Wednesday, May 27, 2020 3:26 PM To: users@camel.apache.org Subject:

RE: errorHandler + onException

2020-05-27 Thread Shultz, Dmitry
Sorry, there is some typo te defaultEndpoint should be the top level route : template.setDefaultEndpointUri("direct:route1"); -Original Message- From: Shultz, Dmitry [mailto:dmitry_shu...@kaltire.com] Sent: Wednesday, May 27, 2020 3:04 PM To: users@camel.apache.org Subject: er

errorHandler + onException

2020-05-27 Thread Shultz, Dmitry
Hi All, What is the best way to handle the situation when there is a need to automatically adjust the exchange as part of the error handling and proceed with retry? For example, there is a route1 that invokes route2 with the 'token' property set. When, during the route2 execution there is a

Re: Trying to figure out how errorHandler, onException and throwException work.

2013-12-17 Thread Alexander Lomov
.nabble.com/Trying-to-figure-out-how-errorHandler-onException-and-throwException-work-tp5744947p5744956.html Sent from the Camel - Users mailing list archive at Nabble.com.

Trying to figure out how errorHandler, onException and throwException work.

2013-12-17 Thread Alexander Lomov
n the 'facade' route? Thanks in advance. P.S. While looking to the NoErrorHandlerBuilder code I've seen that it handles onException policies somehow. Am I doing something wrong? -- View this message in context: http://camel.465427.n5.nabble.com/Trying-to-figure-out-how-errorHandler-onException-and-throwException-work-tp5744947.html Sent from the Camel - Users mailing list archive at Nabble.com.