Class StompAckEntry
java.lang.Object
org.apache.activemq.transport.stomp.StompAckEntry
Tracker object for Messages that carry STOMP v1.2 ACK IDs
-
Constructor Summary
ConstructorsConstructorDescriptionStompAckEntry(org.apache.activemq.command.MessageDispatch dispatch, String ackId, StompSubscription subscription) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAckId()org.apache.activemq.command.MessageDispatchorg.apache.activemq.command.MessageIdinthashCode()org.apache.activemq.command.MessageAckonMessageAck(org.apache.activemq.command.TransactionId transactionId) org.apache.activemq.command.MessageAckonMessageNack(org.apache.activemq.command.TransactionId transactionId) toString()
-
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
-
getSubscription
-
toString
-
hashCode
public int hashCode() -
equals
-