Why will onException per route not work for you? Best, Christian Am 29.09.2014 15:04 schrieb "Aryan" <kanwal.is...@gmail.com>:
> Hi All, > > We have a camel route and we want to handle exceptions per endpoint. For > example, if the exception is thrown from processor A, we want A number of > retries, if thrown from processor B, we want B number of retries and so on. > > We can handle the exception using doTry and throw our customized exception > per endpoint and then apply different number or retries using OnException. > Not sure if it is the best approach though. Camel allows exceptions > policies > to be applied per route and per context, is it possible to configure it per > endpoint? Please advice. Or is there any other clean way to do it. > > Thanks! > Aryan > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Handling-error-per-endpoint-tp5757191.html > Sent from the Camel - Users mailing list archive at Nabble.com. >