public void setWebServiceMessageReceiver(WebServiceMessageReceiver webServiceMessageReceiver) {
super.setWebServiceMessageReceiver(webServiceMessageReceiver);
}
public void decorateResponseReceiver() {
final WebServiceMessageReceiver original = getWebServiceMessageReceiver();
setWebServiceMessageReceiver(new WebServiceMessageReceiver() {
@Override
public void receive(MessageContext messageContext) throws Exception {
decorator.receive(messageContext);
original.receive(messageContext);
}
});
}