use of org.springframework.ws.transport.WebServiceMessageReceiver in project camel by apache.
the class InMemoryWebServiceMessageSender2 method decorateResponseReceiver.
public void decorateResponseReceiver() {
final WebServiceMessageReceiver original = getWebServiceMessageReceiver();
setWebServiceMessageReceiver(new WebServiceMessageReceiver() {
@Override
public void receive(MessageContext messageContext) throws Exception {
decorator.receive(messageContext);
original.receive(messageContext);
}
});
}
Aggregations