public class BasicMessageFilter extends Object implements MessageFilter
Constructor and Description |
---|
BasicMessageFilter() |
Modifier and Type | Method and Description |
---|---|
protected void |
doProcessSoapAttachments(org.apache.camel.Message inOrOut,
org.springframework.ws.soap.SoapMessage response)
Populate SOAP attachments from in or out exchange message.
|
protected void |
doProcessSoapHeader(org.apache.camel.Message inOrOut,
org.springframework.ws.soap.SoapMessage soapMessage)
The SOAP header is populated from exchange.getOut().getHeaders() if this
class is used by the consumer or exchange.getIn().getHeaders() if this
class is used by the producer.
|
void |
filterConsumer(org.apache.camel.Exchange exchange,
org.springframework.ws.WebServiceMessage response)
Calls filter for a consumer
|
void |
filterProducer(org.apache.camel.Exchange exchange,
org.springframework.ws.WebServiceMessage response)
Calls filter for a producer
|
protected void |
processHeaderAndAttachments(org.apache.camel.Message inOrOut,
org.springframework.ws.WebServiceMessage response)
If applicable this method adds a SOAP headers and attachments.
|
protected void |
processSoapHeader(org.apache.camel.Message inOrOut,
org.springframework.ws.soap.SoapMessage soapMessage)
If applicable this method adds a SOAP header.
|
public void filterProducer(org.apache.camel.Exchange exchange, org.springframework.ws.WebServiceMessage response)
MessageFilter
filterProducer
in interface MessageFilter
exchange
- the exchangeresponse
- provided by the producerpublic void filterConsumer(org.apache.camel.Exchange exchange, org.springframework.ws.WebServiceMessage response)
MessageFilter
filterConsumer
in interface MessageFilter
exchange
- the exchangeresponse
- provided by the consumerprotected void processHeaderAndAttachments(org.apache.camel.Message inOrOut, org.springframework.ws.WebServiceMessage response)
inOrOut
- response
- protected void processSoapHeader(org.apache.camel.Message inOrOut, org.springframework.ws.soap.SoapMessage soapMessage)
inOrOut
- soapMessage
- protected void doProcessSoapHeader(org.apache.camel.Message inOrOut, org.springframework.ws.soap.SoapMessage soapMessage)
protected void doProcessSoapAttachments(org.apache.camel.Message inOrOut, org.springframework.ws.soap.SoapMessage response)
inOrOut
- response
- Apache Camel