Hi there

I've created the following Camel route:

  <bean id="dropAllMessageHeadersStrategy" 
class="org.apache.camel.component.cxf.common.header.CxfHeaderFilterStrategy">
      <!--  Set relayHeaders to false to drop all SOAP headers -->
      <property name="relayHeaders" value="false"/>
  </bean>

  <camelContext xmlns="http://camel.apache.org/schema/spring";>
    <route>
      <from 
uri="cxf:bean:proxyCRMEndpoint?headerFilterStrategy=#dropAllMessageHeadersStrategy"/>
      <to uri="cxf:bean:targetCRMEndpoint"/>
    </route>
  </camelContext>
The data format is CXF_MESSAGE.

This should drop the incoming SOAP headers. The cxf component which produces 
the message for the target web services request a new token from the STS. But 
this message contains then a WS-Security header with two SAML assertions and 
two Timestamp elements because the incoming headers are not dropped.

I use Camel version 2.10.4 in Karaf.

Am I doing anything wrong?

Thanks
Oli

Reply via email to