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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createSession, createXASession
close, createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
public 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 QueueConnection
JMSException
public QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws JMSException
createQueueSession
in interface QueueConnection
createQueueSession
in interface XAQueueConnection
JMSException
public XAQueueSession createXAQueueSession() throws JMSException
createXAQueueSession
in interface XAQueueConnection
JMSException