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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createSession, createXASession
close, createConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop
public 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 TopicConnection
JMSException
public ConnectionConsumer createDurableConnectionConsumer(Topic topic, java.lang.String name, java.lang.String messageSelector, ServerSessionPool sessionPool, int maxMessages) throws JMSException
createDurableConnectionConsumer
in interface Connection
createDurableConnectionConsumer
in interface TopicConnection
createDurableConnectionConsumer
in class ConnectionImpl
JMSException
public TopicSession createTopicSession(boolean transacted, int acknowledgeMode) throws JMSException
createTopicSession
in interface TopicConnection
createTopicSession
in interface XATopicConnection
JMSException
public XATopicSession createXATopicSession() throws JMSException
createXATopicSession
in interface XATopicConnection
JMSException