Package com.swiftmq.jms.v400
Class QueueConnectionImpl
- java.lang.Object
-
- com.swiftmq.tools.requestreply.RequestServiceRegistry
-
- com.swiftmq.jms.v400.ConnectionImpl
-
- com.swiftmq.jms.v400.QueueConnectionImpl
-
- All Implemented Interfaces:
SwiftMQConnection
,ExceptionHandler
,InboundHandler
,ReplyHandler
,RequestHandler
,TimerListener
,javax.jms.Connection
,javax.jms.QueueConnection
- Direct Known Subclasses:
XAQueueConnectionImpl
public class QueueConnectionImpl extends ConnectionImpl implements javax.jms.QueueConnection
-
-
Field Summary
-
Fields inherited from class com.swiftmq.jms.v400.ConnectionImpl
CLIENT_VERSION, CONNECTED_STARTED, CONNECTED_STOPPED, DISCONNECTED, DISPATCH_TOKEN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
QueueConnectionImpl(java.lang.String userName, java.lang.String password, Connection conn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.jms.ConnectionConsumer
createDurableConnectionConsumer(javax.jms.Topic topic, java.lang.String subscriptionName, java.lang.String messageSelector, javax.jms.ServerSessionPool sessionPool, int maxMessages)
javax.jms.QueueSession
createQueueSession(boolean transacted, int acknowledgeMode)
-
Methods inherited from class com.swiftmq.jms.v400.ConnectionImpl
addReconnectListener, authenticate, checkVersion, close, createConnectionConsumer, createConnectionConsumer, createConnectionConsumer, createSession, dataAvailable, deleteTempQueue, getClientID, getConnectionState, getExceptionListener, getInternalCID, getMetaData, getUserName, isReconnectEnabled, onException, performReply, performRequest, performTimeAction, removeReconnectListener, setClientID, setExceptionListener, start, stop, verifyState
-
Methods inherited from class com.swiftmq.tools.requestreply.RequestServiceRegistry
addRequestService, dispatch, getNextFreeDispatchId, getNumberServices, getRequestService, isSendExceptionEnabled, removeRequestService, setReplyHandler
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
QueueConnectionImpl
protected QueueConnectionImpl(java.lang.String userName, java.lang.String password, Connection conn) throws javax.jms.JMSException
- Throws:
javax.jms.JMSException
-
-
Method Detail
-
createQueueSession
public javax.jms.QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws javax.jms.JMSException
- Specified by:
createQueueSession
in interfacejavax.jms.QueueConnection
- Throws:
javax.jms.JMSException
-
createDurableConnectionConsumer
public javax.jms.ConnectionConsumer createDurableConnectionConsumer(javax.jms.Topic topic, java.lang.String subscriptionName, java.lang.String messageSelector, javax.jms.ServerSessionPool sessionPool, int maxMessages) throws javax.jms.JMSException
- Specified by:
createDurableConnectionConsumer
in interfacejavax.jms.Connection
- Overrides:
createDurableConnectionConsumer
in classConnectionImpl
- Throws:
javax.jms.JMSException
-
-