On Wed, Jul 20, 2011 at 12:56 PM, Echo <[email protected]> wrote: > Hello , > I have on route like that : > > > onException(classOf[RuntimeException]).process(runtimeProcessor).process(doSmth).log(LoggingLevel.INFO, > "new", "${exchangeId} --- ${exception.stacktrace} ") > > > On the processor I do : > > CustomException customException =new CustomException () > exchange.setException(customException ) > exchange.getOut.setBody(doc) >
Camel does not continue routing when an exception has been set on the exchange. > > The issue now that after this processor , it doesn't go to other processors > (i.e. in my case , it doesn't go to "doSmth" processor ) > > I guess that behavior is that I have changed the exception on the exchange > that I have built my "onException" over it . > > Is there any way to force to go on my route even after changing the > Exchange's exception !! > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Set-different-exception-on-exchange-at-the-processor-tp4615500p4615500.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
