Package org.apache.cxf.ws.rm
Class Destination
- java.lang.Object
-
- org.apache.cxf.ws.rm.AbstractEndpoint
-
- org.apache.cxf.ws.rm.Destination
-
public class Destination extends AbstractEndpoint
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.ws.rm.AbstractEndpoint
completedSequenceCount, processingSequenceCount
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacknowledge(Message message)Acknowledges receipt of a message.voidaddSequence(DestinationSequence seq)voidaddSequence(DestinationSequence seq, boolean persist)Collection<DestinationSequence>getAllSequences()DestinationSequencegetSequence(Identifier id)voidremoveSequence(DestinationSequence seq)voidterminateSequence(DestinationSequence seq)voidterminateSequence(DestinationSequence seq, boolean forceRemove)-
Methods inherited from class org.apache.cxf.ws.rm.AbstractEndpoint
generateSequenceIdentifier, getEndpoint, getManager, getName, getReliableEndpoint
-
-
-
-
Method Detail
-
getSequence
public DestinationSequence getSequence(Identifier id)
-
getAllSequences
public Collection<DestinationSequence> getAllSequences()
-
addSequence
public void addSequence(DestinationSequence seq)
-
addSequence
public void addSequence(DestinationSequence seq, boolean persist)
-
terminateSequence
public void terminateSequence(DestinationSequence seq)
-
terminateSequence
public void terminateSequence(DestinationSequence seq, boolean forceRemove)
-
removeSequence
public void removeSequence(DestinationSequence seq)
-
acknowledge
public void acknowledge(Message message) throws SequenceFault, RMException
Acknowledges receipt of a message. If the message is the last in the sequence, sends an out-of-band SequenceAcknowledgement unless there a response will be sent to the acksTo address onto which the acknowldegment can be piggybacked.- Parameters:
message- the message to be acknowledged- Throws:
SequenceFault- if the sequence specified insequenceTypedoes not existRMException
-
-