Class DecoupledFaultHandler
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<SoapMessage>
org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
org.apache.cxf.ws.addressing.soap.DecoupledFaultHandler
- All Implemented Interfaces:
SoapInterceptor,Interceptor<SoapMessage>,PhaseInterceptor<SoapMessage>
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected DestinationcreateDecoupledDestination(Exchange exchange, org.apache.cxf.ws.addressing.EndpointReferenceType epr) voidhandleFault(SoapMessage message) 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.voidhandleMessage(SoapMessage message) Intercepts a message.Methods inherited from class org.apache.cxf.binding.soap.interceptor.AbstractSoapInterceptor
getFaultCodePrefix, getRoles, getUnderstoodHeaders, prepareStackTraceMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, isGET, isRequestor, setAfter, setBefore
-
Field Details
-
WSA_ACTION
- See Also:
-
-
Constructor Details
-
DecoupledFaultHandler
public DecoupledFaultHandler()
-
-
Method Details
-
handleMessage
Description copied from interface:InterceptorIntercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this. -
handleFault
Description copied from interface:InterceptorCalled 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:
handleFaultin interfaceInterceptor<SoapMessage>- Overrides:
handleFaultin classAbstractPhaseInterceptor<SoapMessage>
-
createDecoupledDestination
protected Destination createDecoupledDestination(Exchange exchange, org.apache.cxf.ws.addressing.EndpointReferenceType epr)
-