org.apache.cxf.ws.addressing.soap
Class OneWayDecoupledFaultHandler
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.apache.cxf.ws.addressing.soap.OneWayDecoupledFaultHandler
- All Implemented Interfaces:
- SoapInterceptor, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>
public class OneWayDecoupledFaultHandler
- 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.
Methods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor |
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSA_ACTION
public static final String WSA_ACTION
- See Also:
- Constant Field Values
OneWayDecoupledFaultHandler
public OneWayDecoupledFaultHandler()
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,
EndpointReferenceType epr)
Apache CXF