cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Help! My interceptors fire for client calls
Date Wed, 02 Jun 2010 15:25:19 GMT
I think that you will need to set up two busses.

On Wed, Jun 2, 2010 at 11:08 AM, Chris Hardin <chrislhardin@gmail.com> wrote:
> I have the config below. I have a huge problem though. The interceptors are
> not only firing when someone calls my services, they also fire when I call
> another service. I only want these interceptors to fire for the services
> that I have exposed and not the ones I call out to another ESB for.
>
>  <cxf:bus>
>
>    <cxf:inInterceptors>
>           <ref bean="timerIn"/>
>            <ref bean="openSessionIn"/>
>        </cxf:inInterceptors>
>        <cxf:outInterceptors>
>
>            <ref bean="openSessionOut"/>
>              <ref bean="timerOut"/>
>       </cxf:outInterceptors>
>
>        <cxf:features>
>             <cxf:logging />
>           <cxf:fastinfoset/>
> <!--           <ref bean="gzipFeature"/>-->
>
>        </cxf:features>
>
>        <cxf:properties>
>
>          <entry key="schema-validation-enabled" value="false" />
>        </cxf:properties>
>
>    </cxf:bus>
>

Mime
View raw message