koseki nonuyuki wrote:
> I encountered the same trouble when I got SOAP fault.
>
> The first processor in the onException route, I put
> "exchange.getOut().setBody(null)" , then multiple
> process worked.
>
> When onException route received SOAP fault, the outMessage already
> contains Exception info, that
> cause another Exception at the next process and rollback, I guess. 

I'm doing the same thing, plus

      exchange.setProperty(Exchange.EXCEPTION_CAUGHT,
exchange.getOut.getBody());

before that so the exception remains accessible. It seems to me that's what
the onException handler should do already, though.

Jens

--
View this message in context: 
http://camel.465427.n5.nabble.com/Does-onException-not-support-multiple-statements-tp4381958p4759049.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to