Hi Yeah using Spring DSL onException should apply to the given route only
a: <route> <from> <onException> <to> </route> b: <route> <from> <to> </route> So onException should only apply for route a, well that is the point of it, but you are welcome to try it and see what the computer say ;) /Claus Ibsen Apache Camel Committer Blog: http://davsclaus.blogspot.com/ On Wed, Nov 26, 2008 at 3:59 PM, Martin Gilday <[EMAIL PROTECTED]> wrote: > Reading through the docs there is an explanation of how to use > onException to set error handling for the global context. There is also > instructions on how to set up an errorHandler for a particular route. > Is it possible to set up onException handlers that only apply to an > individual or subset of routes? deadLetterChannelBuilder has method > named exceptionPolicyStrategy which may be what I am after. Could > someone point me in the direction of a code snippet of how to use this? > > Thanks, > Martin. >