camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Wulff <>
Subject CxfHeaderFilterStrategy doesn't drop SOAP headers
Date Thu, 06 Feb 2014 14:25:51 GMT
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"/>

  <camelContext xmlns="">
      <from uri="cxf:bean:proxyCRMEndpoint?headerFilterStrategy=#dropAllMessageHeadersStrategy"/>
      <to uri="cxf:bean:targetCRMEndpoint"/>
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?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message