|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.activemq.service.impl.SubscriptionImpl
org.activemq.service.impl.DurableTopicSubscription
Represents a durable topic subscription where the consumer has a unique clientID used to persist the messages across both Broker restarts and JMS client restarts
Field Summary |
Fields inherited from class org.activemq.service.impl.SubscriptionImpl |
brokerName, clusterName, dispatch, lastMessageIdentity, messagePtrs, unconsumedMessagesDispatched |
Constructor Summary | |
DurableTopicSubscription(Dispatcher dispatcher,
BrokerClient client,
ConsumerInfo info,
Filter filter,
RedeliveryPolicy redeliveryPolicy,
DeadLetterPolicy deadLetterPolicy)
|
Method Summary | |
java.lang.String |
getPersistentKey()
Returns the persistent key used to uniquely identify this durable topic subscription |
void |
messageConsumed(MessageAck ack)
Indicates a message has been delivered to a MessageConsumer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DurableTopicSubscription(Dispatcher dispatcher, BrokerClient client, ConsumerInfo info, Filter filter, RedeliveryPolicy redeliveryPolicy, DeadLetterPolicy deadLetterPolicy)
Method Detail |
public void messageConsumed(MessageAck ack) throws javax.jms.JMSException
SubscriptionImpl
messageConsumed
in interface Subscription
messageConsumed
in class SubscriptionImpl
ack
-
javax.jms.JMSException
public java.lang.String getPersistentKey()
Subscription
getPersistentKey
in interface Subscription
getPersistentKey
in class SubscriptionImpl
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |