Class PendingMessage


  • public class PendingMessage
    extends Object
    Value object representing a pending message reported through XPENDING with range/limit.
    Since:
    5.1
    Author:
    Mark Paluch
    • Constructor Detail

      • PendingMessage

        public PendingMessage​(String id,
                              String consumer,
                              long msSinceLastDelivery,
                              long redeliveryCount)
    • Method Detail

      • getId

        public String getId()
      • getConsumer

        public String getConsumer()
      • getMsSinceLastDelivery

        public long getMsSinceLastDelivery()
      • getSinceLastDelivery

        public Duration getSinceLastDelivery()
      • getRedeliveryCount

        public long getRedeliveryCount()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object