As it's not going to continue routing into my route , I have tried to do an
addition :
onException(CustomException).process(dosmth)

I also tried to use doTry/doCatch
I also tried to manipulate with the original stack trace without the need to
use : setException()
Still have the same issue .

I don't need to set into the body or the head , I need to replace the
exchange's exception with customException 

As I use DSL logging into the end of the route to  log into a new log file.
This new log file should have an exception of type CustomException into it . 



--
View this message in context: 
http://camel.465427.n5.nabble.com/Set-different-exception-on-exchange-at-the-processor-tp4615500p4615711.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to