On Friday, January 06, 2012 6:38:21 PM Thomas Bader wrote:
> Hi,
>
> I want to catch all unexpected exceptions for logging on the serverside.
> The best way for doing this seems to be with an implementation of
>
> org.apache.cxf.logging.FaultListener
>
> But how and where can I configure the use auf an FaultListener?
You can configure it on the Bus (more global, would apply to all endpoint on
that bus) or on the endpoint itself.
<cxf:bus>
<cxf:properties>
<entry key="org.apache.cxf.logging.FaultListener">
<bean class="...MyFaultListener"/>
....
--
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com