Hello
Also there is some interest solution.
To mark FaultMessageResolver#resolveFault with @Publisher:
Code:
@Publisher(channel = "errorChannel")
@Payload("#exception")
public void resolveFault(WebServiceMessage message) throws IOException {
SoapMessage soapMessage = (SoapMessage) message;
throw new SoapFaultClientException(soapMessage);
}
In this case the exception will be thrown in the caller thread and the message with exception payload will be send to the errorChannel by the PublisherInterceptor.