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)


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.

Reply via email to