Interface QueuedMessage

    • Method Detail

      • getId

        QueueEntryId getId()
        The unique queue entry id for this message
        Returns:
      • getQueueName

        QueueName getQueueName()
        Name of the Queue that the message is enqueued on
        Returns:
        name of the Queue that the message is enqueued on
      • getAddedTimestamp

        OffsetDateTime getAddedTimestamp()
        When was this message first enqueued (or directly added as a Dead-letter-message)
        Returns:
        when was this message first enqueued
      • getLastDeliveryError

        String getLastDeliveryError()
        Get the error from the last delivery (null if no error is recorded)
        Returns:
        Get the error from the last delivery (null if no error is recorded)
      • getTotalDeliveryAttempts

        int getTotalDeliveryAttempts()
        Get the total number of delivery attempts for this message
        Returns:
        the total number of delivery attempts for this message
      • getMessage

        Message getMessage()
        Get the message queued