|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.jms.connection.ConnectionImpl
com.caucho.jms.connection.TopicConnectionImpl
public class TopicConnectionImpl
A sample queue connection factory.
Constructor Summary | |
---|---|
TopicConnectionImpl(ConnectionFactoryImpl factory)
Create a new topic connection. |
|
TopicConnectionImpl(ConnectionFactoryImpl factory,
boolean isXA)
Create a new topic connection. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.caucho.jms.connection.ConnectionImpl |
---|
addSession, assignClientID, checkOpen, close, createConnectionConsumer, createSession, createXASession, getClientID, getConnectionFactory, getExceptionListener, getMetaData, isXA, setClientID, setExceptionListener, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.XAConnection |
---|
createSession, createXASession |
Methods inherited from interface javax.jms.Connection |
---|
close, createConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
Constructor Detail |
---|
public TopicConnectionImpl(ConnectionFactoryImpl factory, boolean isXA)
public TopicConnectionImpl(ConnectionFactoryImpl factory)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |