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>

Reply via email to