org.apache.camel.component.cxf.common.header
Class SoapMessageHeaderFilter

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

public class SoapMessageHeaderFilter
extends Object
implements MessageHeaderFilter

A MessageHeaderFilter to drop all SOAP headers.

Version:

Constructor Summary
SoapMessageHeaderFilter()
           
 
Method Summary
 void filter(HeaderFilterStrategy.Direction direction, List<org.apache.cxf.headers.Header> headers)
          This method filters (removes) headers from the given header list.
 List<String> getActivationNamespaces()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapMessageHeaderFilter

public SoapMessageHeaderFilter()
Method Detail

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(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


Apache CAMEL