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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
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:
sequenceType
- the sequenceType object that includes identifier and
message number (and possibly a lastMessage element) for the
message to be acknowledged)replyToAddress
- the replyTo address of the message that carried
this sequence information
- Throws:
SequenceFault
- if the sequence specified in
sequenceType
does not exist
RMException
Apache CXF