public class TopicConnectionImpl extends ConnectionImpl implements XATopicConnection
| Constructor and Description |
|---|
TopicConnectionImpl(ConnectionFactoryImpl factory)
Create a new topic connection.
|
TopicConnectionImpl(ConnectionFactoryImpl factory,
boolean isXA)
Create a new topic connection.
|
| Modifier and Type | Method and Description |
|---|---|
ConnectionConsumer |
createConnectionConsumer(Topic topic,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
Creates a new consumer (optional)
|
ConnectionConsumer |
createDurableConnectionConsumer(Topic topic,
java.lang.String name,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
Creates a new consumer (optional)
|
TopicSession |
createTopicSession(boolean transacted,
int acknowledgeMode)
Creates a new connection session.
|
XATopicSession |
createXATopicSession()
Creates a new connection session.
|
addSession, assignClientID, checkOpen, close, createConnectionConsumer, createSession, createXASession, getClientID, getConnectionFactory, getExceptionListener, getMetaData, isXA, setClientID, setExceptionListener, start, stop, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateSession, createXASessionclose, createConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stoppublic TopicConnectionImpl(ConnectionFactoryImpl factory, boolean isXA)
public TopicConnectionImpl(ConnectionFactoryImpl factory)
public ConnectionConsumer createConnectionConsumer(Topic topic, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
createConnectionConsumer in interface TopicConnectionJMSExceptionpublic ConnectionConsumer createDurableConnectionConsumer(Topic topic, java.lang.String name, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
createDurableConnectionConsumer in interface ConnectioncreateDurableConnectionConsumer in interface TopicConnectioncreateDurableConnectionConsumer in class ConnectionImplJMSExceptionpublic TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException
createTopicSession in interface TopicConnectioncreateTopicSession in interface XATopicConnectionJMSExceptionpublic XATopicSession createXATopicSession() throws JMSException
createXATopicSession in interface XATopicConnectionJMSException