camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem jiang <>
Subject Re: CXF SOAP Fault handling
Date Tue, 06 Nov 2012 13:28:32 GMT

You can disable the ErrorHandling like this, if you just proxy the service like below route.

<camelContext id="camel" xmlns="">
<route errorHandlerRef="noErrorHandler">
<from uri="cxf:bean:routerEndpoint" />
<to uri="cxf:bean:serviceEndpoint" />
<bean id="noErrorHandler" class="org.apache.camel.builder.NoErrorHandlerBuilder"/>

Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: |
Blog: ( (English)
 ( (Chinese)
Twitter: willemjiang 
Weibo: willemjiang

On Tuesday, November 6, 2012 at 9:09 PM, vpd wrote:

> I am new to Camel and CXF. I am trying to post process the fault messages
> that are thrown from my webservice. But CXF throws them as Fault exception
> only and hence the camel routing is aborted and the error handler is
> invoked.
> How can I tweak Camel or CXF to get the fault message just as received by
> the CXF itself>
> Is there any configuration by which I can attain this? 
> Or Do I need to provide an Interceptor to achieve this? 
> Or Do I need to handle in Error handler? 
> I searched and found, with interceptors I could update the message. But felt
> there should be a simple way to go for it.
> Please advice.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at (

View raw message