Class LocalDurableTopicSubscriber
- java.lang.Object
-
- net.timewalker.ffmq4.common.session.AbstractMessageHandler
-
- net.timewalker.ffmq4.common.session.AbstractMessageConsumer
-
- net.timewalker.ffmq4.local.session.LocalMessageConsumer
-
- net.timewalker.ffmq4.local.session.LocalTopicSubscriber
-
- net.timewalker.ffmq4.local.session.LocalDurableTopicSubscriber
-
- All Implemented Interfaces:
javax.jms.MessageConsumer,javax.jms.TopicSubscriber
public final class LocalDurableTopicSubscriber extends LocalTopicSubscriber
Implementation of a local durable JMS
TopicSubscriber
-
-
Field Summary
-
Fields inherited from class net.timewalker.ffmq4.local.session.LocalMessageConsumer
engine, parsedSelector
-
Fields inherited from class net.timewalker.ffmq4.common.session.AbstractMessageConsumer
autoAcknowledge, messageListener, messageSelector, noLocal
-
Fields inherited from class net.timewalker.ffmq4.common.session.AbstractMessageHandler
closed, connection, destination, externalAccessLock, id, session
-
-
Constructor Summary
Constructors Constructor Description LocalDurableTopicSubscriber(FFMQEngine engine, LocalSession session, javax.jms.Destination destination, String messageSelector, boolean noLocal, IntegerID consumerId, String subscriberId)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisDurable()Test if the consumer is durable-
Methods inherited from class net.timewalker.ffmq4.local.session.LocalTopicSubscriber
getTopic
-
Methods inherited from class net.timewalker.ffmq4.local.session.LocalMessageConsumer
getLocalQueue, getNoLocal, getParsedSelector, getPrefetchSize, getReceiveSelector, getSettings, getSubscriberId, initDestination, onConsumerClose, onConsumerClosed, prefetchMore, receiveFromDestination, restorePrefetchCapacity, setMessageListener, shouldLogListenersFailures, wakeUp
-
Methods inherited from class net.timewalker.ffmq4.common.session.AbstractMessageConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, wakeUpMessageListener
-
Methods inherited from class net.timewalker.ffmq4.common.session.AbstractMessageHandler
checkNotClosed, getEntitiesDescription, getId, getSession, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
LocalDurableTopicSubscriber
public LocalDurableTopicSubscriber(FFMQEngine engine, LocalSession session, javax.jms.Destination destination, String messageSelector, boolean noLocal, IntegerID consumerId, String subscriberId) throws javax.jms.JMSException
Constructor- Throws:
javax.jms.JMSException
-
-
Method Detail
-
isDurable
public boolean isDurable()
Description copied from class:LocalMessageConsumerTest if the consumer is durable- Overrides:
isDurablein classLocalMessageConsumer
-
-