public class QueueConnectionImpl extends ConnectionImpl implements XAQueueConnection
| Constructor and Description |
|---|
QueueConnectionImpl(ConnectionFactoryImpl factory)
Create a new queue connection.
|
QueueConnectionImpl(ConnectionFactoryImpl factory,
boolean isXA)
Create a new queue connection.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionConsumer |
createConnectionConsumer(Queue queue,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
Creates a new consumer (optional)
|
QueueSession |
createQueueSession(boolean transacted,
int acknowledgeMode)
Creates a new connection session.
|
XAQueueSession |
createXAQueueSession()
Creates a new connection session.
|
addSession, assignClientID, checkOpen, close, createConnectionConsumer, createDurableConnectionConsumer, createSession, createXASession, getClientID, getConnectionFactory, getExceptionListener, getMetaData, isXA, setClientID, setExceptionListener, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateSession, createXASessionclose, createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stoppublic QueueConnectionImpl(ConnectionFactoryImpl factory, boolean isXA)
public QueueConnectionImpl(ConnectionFactoryImpl factory)
public ConnectionConsumer createConnectionConsumer(Queue queue, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
createConnectionConsumer in interface QueueConnectionJMSExceptionpublic QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws JMSException
createQueueSession in interface QueueConnectioncreateQueueSession in interface XAQueueConnectionJMSExceptionpublic XAQueueSession createXAQueueSession() throws JMSException
createXAQueueSession in interface XAQueueConnectionJMSException