Interface ApplicationMessage

All Superinterfaces:
RxMessage
All Known Implementing Classes:
ApplicationMessageBase, JaxwsApplicationMessage

public interface ApplicationMessage extends RxMessage
A protocol independent abstraction of an application message that is used as part of RM processing.
  • 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

      void setSequenceData(String sequenceId, long messageNumber)
      Sets reliable messaging sequence data for this message.
      Parameters:
      sequenceId - identifier of a sequence this message is associated with
      messageNumber - 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

      void setAcknowledgementData(AcknowledgementData data)
      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