org.apache.activemq.transport.stomp
Class StompSubscription
java.lang.Object
org.apache.activemq.transport.stomp.StompSubscription
- Direct Known Subclasses:
- StompQueueBrowserSubscription
public class StompSubscription
- extends Object
Keeps track of the STOMP subscription so that acking is correctly done.
- Author:
- chirino
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AUTO_ACK
public static final String AUTO_ACK
- See Also:
- Constant Field Values
CLIENT_ACK
public static final String CLIENT_ACK
- See Also:
- Constant Field Values
INDIVIDUAL_ACK
public static final String INDIVIDUAL_ACK
- See Also:
- Constant Field Values
protocolConverter
protected final ProtocolConverter protocolConverter
subscriptionId
protected final String subscriptionId
consumerInfo
protected final ConsumerInfo consumerInfo
dispatchedMessage
protected final LinkedHashMap<MessageId,MessageDispatch> dispatchedMessage
unconsumedMessage
protected final LinkedList<MessageDispatch> unconsumedMessage
ackMode
protected String ackMode
destination
protected ActiveMQDestination destination
transformation
protected String transformation
StompSubscription
public StompSubscription(ProtocolConverter stompTransport,
String subscriptionId,
ConsumerInfo consumerInfo,
String transformation)
onStompMessageNack
public MessageAck onStompMessageNack(String messageId,
TransactionId transactionId)
throws ProtocolException
- Throws:
ProtocolException
getAckMode
public String getAckMode()
setAckMode
public void setAckMode(String ackMode)
getSubscriptionId
public String getSubscriptionId()
setDestination
public void setDestination(ActiveMQDestination destination)
getDestination
public ActiveMQDestination getDestination()
getConsumerInfo
public ConsumerInfo getConsumerInfo()
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.