Class StompAckEntry

java.lang.Object
org.apache.activemq.transport.stomp.StompAckEntry

public class StompAckEntry extends Object
Tracker object for Messages that carry STOMP v1.2 ACK IDs
  • Constructor Details

    • StompAckEntry

      public StompAckEntry(org.apache.activemq.command.MessageDispatch dispatch, String ackId, StompSubscription subscription)
  • Method Details

    • onMessageAck

      public org.apache.activemq.command.MessageAck onMessageAck(org.apache.activemq.command.TransactionId transactionId)
    • onMessageNack

      public org.apache.activemq.command.MessageAck onMessageNack(org.apache.activemq.command.TransactionId transactionId) throws ProtocolException
      Throws:
      ProtocolException
    • getMessageId

      public org.apache.activemq.command.MessageId getMessageId()
    • getMessageDispatch

      public org.apache.activemq.command.MessageDispatch getMessageDispatch()
    • getAckId

      public String getAckId()
    • getSubscription

      public StompSubscription getSubscription()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object