Package org.apache.cxf.ws.rm
Class RMOutInterceptor
java.lang.Object
org.apache.cxf.phase.AbstractPhaseInterceptor<T>
org.apache.cxf.ws.rm.AbstractRMInterceptor<org.apache.cxf.message.Message>
org.apache.cxf.ws.rm.RMOutInterceptor
- All Implemented Interfaces:
org.apache.cxf.interceptor.Interceptor<org.apache.cxf.message.Message>,org.apache.cxf.phase.PhaseInterceptor<org.apache.cxf.message.Message>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAckRequest(org.apache.cxf.message.Message msg, RMProperties rmpsIn, SourceSequence seq, SequenceType sequence) Add AcknowledgementRequested to message if needed.protected voidhandle(org.apache.cxf.message.Message msg) Methods inherited from class org.apache.cxf.ws.rm.AbstractRMInterceptor
getBus, getManager, handleMessage, isRMPolicyEnabled, setBus, setManagerMethods inherited from class org.apache.cxf.phase.AbstractPhaseInterceptor
addAfter, addAfter, addBefore, addBefore, getAdditionalInterceptors, getAfter, getBefore, getId, getPhase, handleFault, isGET, isRequestor, setAfter, setBefore
-
Constructor Details
-
RMOutInterceptor
public RMOutInterceptor()
-
-
Method Details
-
handle
- Specified by:
handlein classAbstractRMInterceptor<org.apache.cxf.message.Message>- Throws:
SequenceFaultRMException
-
addAckRequest
protected void addAckRequest(org.apache.cxf.message.Message msg, RMProperties rmpsIn, SourceSequence seq, SequenceType sequence) Add AcknowledgementRequested to message if needed. The AckRequest mode set either in the message properties or in the source policy is used to determine whether AcknowledgementRequested is always added, never added, or added only when we're waiting for the acknowledgement to a previously-sent message.- Parameters:
msg-rmpsIn-seq-sequence-
-