Class DecoupledFaultHandler

All Implemented Interfaces:
SoapInterceptor, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>

public class DecoupledFaultHandler extends AbstractSoapInterceptor
Utility interceptor for dealing with faults occurred during processing the one way requests with WSA FaultTo EPR pointing to a decoupled destination. Note that this interceptor is not currently installed by default. It can be installed using @InInterceptors and @OutInterceptors annotations or explicitly added to the list of interceptors.
  • Field Details

  • Constructor Details

    • DecoupledFaultHandler

      public DecoupledFaultHandler()
  • Method Details

    • handleMessage

      public void handleMessage(SoapMessage message)
      Description copied from interface: Interceptor
      Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.
    • handleFault

      public void handleFault(SoapMessage message)
      Description copied from interface: Interceptor
      Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason.
      Specified by:
      handleFault in interface Interceptor<SoapMessage>
      Overrides:
      handleFault in class AbstractPhaseInterceptor<SoapMessage>
    • createDecoupledDestination

      protected Destination createDecoupledDestination(Exchange exchange, org.apache.cxf.ws.addressing.EndpointReferenceType epr)