Class LocalQueueConnection
- java.lang.Object
-
- net.timewalker.ffmq4.common.connection.AbstractConnection
-
- net.timewalker.ffmq4.local.connection.LocalConnection
-
- net.timewalker.ffmq4.local.connection.LocalQueueConnection
-
- All Implemented Interfaces:
javax.jms.Connection,javax.jms.QueueConnection
public final class LocalQueueConnection extends LocalConnection implements javax.jms.QueueConnection
Local implementation of a JMS
QueueConnection
-
-
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 LocalQueueConnection(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.Queue queue, String messageSelector, javax.jms.ServerSessionPool sessionPool, int maxMessages)javax.jms.ConnectionConsumercreateDurableConnectionConsumer(javax.jms.Topic topic, String subscriptionName, String messageSelector, javax.jms.ServerSessionPool sessionPool, int maxMessages)javax.jms.QueueSessioncreateQueueSession(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, 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
-
-
-
-
Constructor Detail
-
LocalQueueConnection
public LocalQueueConnection(FFMQEngine engine, SecurityContext securityContext, String clientID)
Constructor
-
-
Method Detail
-
createConnectionConsumer
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Queue queue, String messageSelector, javax.jms.ServerSessionPool sessionPool, int maxMessages) throws javax.jms.JMSException- Specified by:
createConnectionConsumerin interfacejavax.jms.QueueConnection- Throws:
javax.jms.JMSException
-
createQueueSession
public javax.jms.QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws javax.jms.JMSException- Specified by:
createQueueSessionin interfacejavax.jms.QueueConnection- Throws:
javax.jms.JMSException
-
createDurableConnectionConsumer
public javax.jms.ConnectionConsumer createDurableConnectionConsumer(javax.jms.Topic topic, String subscriptionName, String messageSelector, javax.jms.ServerSessionPool sessionPool, int maxMessages) throws javax.jms.JMSException- Specified by:
createDurableConnectionConsumerin interfacejavax.jms.Connection- Overrides:
createDurableConnectionConsumerin classAbstractConnection- Throws:
javax.jms.JMSException
-
-