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 Summary
Constructors Constructor Description StompAckEntry(MessageDispatch dispatch, String ackId, StompSubscription subscription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getAckId()
MessageDispatch
getMessageDispatch()
MessageId
getMessageId()
StompSubscription
getSubscription()
int
hashCode()
MessageAck
onMessageAck(TransactionId transactionId)
MessageAck
onMessageNack(TransactionId transactionId)
String
toString()
-
-
-
Constructor Detail
-
StompAckEntry
public StompAckEntry(MessageDispatch dispatch, String ackId, StompSubscription subscription)
-
-
Method Detail
-
onMessageAck
public MessageAck onMessageAck(TransactionId transactionId)
-
onMessageNack
public MessageAck onMessageNack(TransactionId transactionId) throws ProtocolException
- Throws:
ProtocolException
-
getMessageId
public MessageId getMessageId()
-
getMessageDispatch
public MessageDispatch getMessageDispatch()
-
getAckId
public String getAckId()
-
getSubscription
public StompSubscription getSubscription()
-
-