You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Jim Talbut <jt...@spudsoft.co.uk> on 2014/11/05 12:24:45 UTC
Setting interceptors on default Spring Bus
Hi,
I've been using the following Spring XML to set up a interceptors on the
default CXF bus.
Now that I've moed to CXF 3.0.1 this is no longer working (the
interceptors aren't being added).
<cxf:bus id="gti-scheduler" name="cxf" >
<cxf:inInterceptors>
<ref bean="cxfInboundLoggingInterceptor"/>
</cxf:inInterceptors>
<cxf:outInterceptors>
<ref bean="cxfOutboundLoggingInterceptor"/>
</cxf:outInterceptors>
<cxf:outFaultInterceptors>
<ref bean="cxfOutboundLoggingInterceptor"/>
</cxf:outFaultInterceptors>
<cxf:properties>
<entry key="bus.jmx.enabled" value="true"/>
<entry key="bus.jmx.usePlatformMBeanServer" value="true" />
<entry
key="org.apache.cxf.transport.http.async.SO_KEEPALIVE" value="true" />
<entry key="search.date-format"
value="yyyy-MM-dd'T'HH:mm:ss" />
</cxf:properties>
</cxf:bus>
Has something changed?
How can I get interceptors added to every bus used by my war?
Thanks
Jim
Re: Setting interceptors on default Spring Bus
Posted by Daniel Kulp <dk...@apache.org>.
Should be fixed in the latest snapshots.
Dan
> On Nov 11, 2014, at 9:08 AM, James Talbut <jt...@spudsoft.co.uk> wrote:
>
> Ah, it seems to be CXF-6062.
> Any chance of getting this fixed?
>
> Jim
>
> -----Original Message-----
> From: "Jim Talbut" <jt...@spudsoft.co.uk>
> Sent: 05/11/2014 11:26
> To: "users@cxf.apache.org" <us...@cxf.apache.org>
> Subject: Setting interceptors on default Spring Bus
>
> Hi,
>
> I've been using the following Spring XML to set up a interceptors on the
> default CXF bus.
> Now that I've moed to CXF 3.0.1 this is no longer working (the
> interceptors aren't being added).
>
> <cxf:bus id="gti-scheduler" name="cxf" >
> <cxf:inInterceptors>
> <ref bean="cxfInboundLoggingInterceptor"/>
> </cxf:inInterceptors>
> <cxf:outInterceptors>
> <ref bean="cxfOutboundLoggingInterceptor"/>
> </cxf:outInterceptors>
> <cxf:outFaultInterceptors>
> <ref bean="cxfOutboundLoggingInterceptor"/>
> </cxf:outFaultInterceptors>
> <cxf:properties>
> <entry key="bus.jmx.enabled" value="true"/>
> <entry key="bus.jmx.usePlatformMBeanServer" value="true" />
> <entry
> key="org.apache.cxf.transport.http.async.SO_KEEPALIVE" value="true" />
> <entry key="search.date-format"
> value="yyyy-MM-dd'T'HH:mm:ss" />
> </cxf:properties>
> </cxf:bus>
>
> Has something changed?
> How can I get interceptors added to every bus used by my war?
>
> Thanks
>
> Jim
>
--
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com
RE: Setting interceptors on default Spring Bus
Posted by James Talbut <jt...@spudsoft.co.uk>.
Ah, it seems to be CXF-6062.
Any chance of getting this fixed?
Jim
-----Original Message-----
From: "Jim Talbut" <jt...@spudsoft.co.uk>
Sent: 05/11/2014 11:26
To: "users@cxf.apache.org" <us...@cxf.apache.org>
Subject: Setting interceptors on default Spring Bus
Hi,
I've been using the following Spring XML to set up a interceptors on the
default CXF bus.
Now that I've moed to CXF 3.0.1 this is no longer working (the
interceptors aren't being added).
<cxf:bus id="gti-scheduler" name="cxf" >
<cxf:inInterceptors>
<ref bean="cxfInboundLoggingInterceptor"/>
</cxf:inInterceptors>
<cxf:outInterceptors>
<ref bean="cxfOutboundLoggingInterceptor"/>
</cxf:outInterceptors>
<cxf:outFaultInterceptors>
<ref bean="cxfOutboundLoggingInterceptor"/>
</cxf:outFaultInterceptors>
<cxf:properties>
<entry key="bus.jmx.enabled" value="true"/>
<entry key="bus.jmx.usePlatformMBeanServer" value="true" />
<entry
key="org.apache.cxf.transport.http.async.SO_KEEPALIVE" value="true" />
<entry key="search.date-format"
value="yyyy-MM-dd'T'HH:mm:ss" />
</cxf:properties>
</cxf:bus>
Has something changed?
How can I get interceptors added to every bus used by my war?
Thanks
Jim