camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Echo <>
Subject Set different exception on exchange at the processor
Date Wed, 20 Jul 2011 10:56:52 GMT
Hello ,
I have on route like that : 

"new", "${exchangeId} --- ${exception.stacktrace} ")

On the processor I do : 

    CustomException customException =new CustomException ()
    exchange.setException(customException )

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:
Sent from the Camel - Users mailing list archive at

View raw message