Package com.sun.xml.ws.rx.rm.runtime
Interface ApplicationMessage
- All Superinterfaces:
RxMessage
- All Known Implementing Classes:
ApplicationMessageBase,JaxwsApplicationMessage
A protocol independent abstraction of an application message that is used as part of RM processing.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.xml.ws.rx.message.RxMessage
RxMessage.State -
Method Summary
Modifier and TypeMethodDescriptionReturns acknowledgement data attached to the messagelongReturns message number within a given sequence of this messageintRetrieves number of the next resend attemptReturns identifier of a sequence this message is associated withvoidSets acknowledgement data attached to the messagevoidsetSequenceData(String sequenceId, long messageNumber) Sets reliable messaging sequence data for this message.Methods inherited from interface com.sun.xml.ws.rx.message.RxMessage
getCorrelationId, getState, toBytes
-
Method Details
-
getSequenceId
String getSequenceId()Returns identifier of a sequence this message is associated with- Returns:
- associated sequence identifier
-
getMessageNumber
long getMessageNumber()Returns message number within a given sequence of this message- Returns:
- sequence message number of this message
-
setSequenceData
Sets reliable messaging sequence data for this message.- Parameters:
sequenceId- identifier of a sequence this message is associated withmessageNumber- message number within a given RM sequence
-
getAcknowledgementData
AcknowledgementData getAcknowledgementData()Returns acknowledgement data attached to the message- Returns:
- acknowledgement data attached to the message
-
setAcknowledgementData
Sets acknowledgement data attached to the message- Parameters:
data- acknowledgement data attached to the message
-
getNextResendCount
int getNextResendCount()Retrieves number of the next resend attempt- Returns:
- number of the next resend attempt
-