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 void
acknowledge(org.apache.cxf.message.Message message)
Acknowledges receipt of a message.void
addSequence(DestinationSequence seq)
void
addSequence(DestinationSequence seq, boolean persist)
Collection<DestinationSequence>
getAllSequences()
DestinationSequence
getSequence(Identifier id)
void
removeSequence(DestinationSequence seq)
void
terminateSequence(DestinationSequence seq)
void
terminateSequence(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(org.apache.cxf.message.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 insequenceType
does not existRMException
-
-