camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Castyn <eric.ben...@gmail.com>
Subject Re: Detecting SOAP Faults
Date Thu, 05 Apr 2012 15:26:54 GMT
Ah that makes sense, thank you.

So basically I can just setup onException blocks to look for something like
org.apache.cxf.interceptor.Fault to indicate a SOAP Fault, then within that
onException block I could use a processor to do what I need?

Something like this in the processor?

SoapFault fault = exchange.getProperty(Exchange.EXCEPTION_CAUGHT,
SoapFault.class);

--
View this message in context: http://camel.465427.n5.nabble.com/Detecting-SOAP-Faults-tp5618665p5620684.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message