Claus Ibsen-2 wrote:
> 
> On Thu, Sep 1, 2011 at 6:31 PM, Jens wrote:
>> 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.
>>
> 
> SOAP Faults is not part of the Camel error handling by default.
> 
> There is a handle fault (interceptor) you can enable which turns a
> SOAP Fault -> Exception,
> which the Camel error handler will be abel to detect and react upon.
> 

Hi Claus,

as I wrote previously, handleFault doesn't seem to work in this case (Camel
2.6.0).

Regards,
Jens

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

Reply via email to