Interface ApplicationMessage

    • Method Detail

      • 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