Class LocalTopicConnection
- java.lang.Object
-
- net.timewalker.ffmq4.common.connection.AbstractConnection
-
- net.timewalker.ffmq4.local.connection.LocalConnection
-
- net.timewalker.ffmq4.local.connection.LocalTopicConnection
-
- All Implemented Interfaces:
javax.jms.Connection,javax.jms.TopicConnection
public final class LocalTopicConnection extends LocalConnection implements javax.jms.TopicConnection
Local implementation of a JMS
TopicConnection
-
-
Field Summary
-
Fields inherited from class net.timewalker.ffmq4.local.connection.LocalConnection
engine
-
Fields inherited from class net.timewalker.ffmq4.common.connection.AbstractConnection
clientID, closed, externalAccessLock, id, idProvider, started
-
-
Constructor Summary
Constructors Constructor Description LocalTopicConnection(FFMQEngine engine, SecurityContext securityContext, String clientID)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.jms.ConnectionConsumercreateConnectionConsumer(javax.jms.Topic topic, String messageSelector, javax.jms.ServerSessionPool sessionPool, int maxMessages)javax.jms.TopicSessioncreateTopicSession(boolean transacted, int acknowledgeMode)-
Methods inherited from class net.timewalker.ffmq4.local.connection.LocalConnection
checkPermission, checkPermission, createSession, createSession, deleteTemporaryQueue, deleteTemporaryTopic, getSecurityContext, isSecurityEnabled, onConnectionClose, setClientID, start, stop
-
Methods inherited from class net.timewalker.ffmq4.common.connection.AbstractConnection
checkNotClosed, close, createConnectionConsumer, createDurableConnectionConsumer, exceptionOccured, finalize, getClientID, getConsumersCount, getEntitiesDescription, getExceptionListener, getId, getMetaData, getProducersCount, getSessionsCount, isRegisteredTemporaryQueue, isRegisteredTemporaryTopic, isStarted, lookupRegisteredSession, onConnectionClosed, registerSession, registerTemporaryQueue, registerTemporaryTopic, setExceptionListener, toString, unregisterSession, unregisterTemporaryQueue, unregisterTemporaryTopic, waitForDeliverySync, wakeUpLocalConsumers
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Constructor Detail
-
LocalTopicConnection
public LocalTopicConnection(FFMQEngine engine, SecurityContext securityContext, String clientID)
Constructor
-
-
Method Detail
-
createConnectionConsumer
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Topic topic, String messageSelector, javax.jms.ServerSessionPool sessionPool, int maxMessages) throws javax.jms.JMSException- Specified by:
createConnectionConsumerin interfacejavax.jms.TopicConnection- Throws:
javax.jms.JMSException
-
createTopicSession
public javax.jms.TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws javax.jms.JMSException- Specified by:
createTopicSessionin interfacejavax.jms.TopicConnection- Throws:
javax.jms.JMSException
-
-