Class SoapMessageHeaderFilter

java.lang.Object
org.apache.camel.component.cxf.transport.header.SoapMessageHeaderFilter
All Implemented Interfaces:
MessageHeaderFilter

public class SoapMessageHeaderFilter extends Object implements MessageHeaderFilter
A MessageHeaderFilter to drop all SOAP headers.
  • Constructor Details

    • SoapMessageHeaderFilter

      public SoapMessageHeaderFilter()
  • Method Details

    • getActivationNamespaces

      public List<String> getActivationNamespaces()
      Specified by:
      getActivationNamespaces in interface MessageHeaderFilter
      Returns:
      a list of binding name spaces that this relay can service
    • filter

      public void filter(org.apache.camel.spi.HeaderFilterStrategy.Direction direction, List<org.apache.cxf.headers.Header> headers)
      Description copied from interface: MessageHeaderFilter
      This method filters (removes) headers from the given header list. Out direction refers to processing headers from a Camel message to an CXF message. In direction is the reverse direction.
      Specified by:
      filter in interface MessageHeaderFilter
      Parameters:
      direction - the direction of the processing
      headers - the origin list of headers