|
||||||||||
| 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.QueueConnectionImpl
public class QueueConnectionImpl
A sample queue connection factory.
| Constructor Summary | |
|---|---|
QueueConnectionImpl(ConnectionFactoryImpl factory)
Create a new queue connection. |
|
QueueConnectionImpl(ConnectionFactoryImpl factory,
boolean isXA)
Create a new queue connection. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.caucho.jms.connection.ConnectionImpl |
|---|
addSession, assignClientID, checkOpen, close, createConnectionConsumer, createDurableConnectionConsumer, 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, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
| Constructor Detail |
|---|
public QueueConnectionImpl(ConnectionFactoryImpl factory,
boolean isXA)
public QueueConnectionImpl(ConnectionFactoryImpl factory)
| Method Detail |
|---|
public ConnectionConsumer createConnectionConsumer(Queue queue,
java.lang.String messageSelector,
ServerSessionPool sessionPool,
int maxMessages)
throws JMSException
createConnectionConsumer in interface QueueConnectionJMSException
public QueueSession createQueueSession(boolean transacted,
int acknowledgeMode)
throws JMSException
createQueueSession in interface QueueConnectioncreateQueueSession in interface XAQueueConnectionJMSException
public XAQueueSession createXAQueueSession()
throws JMSException
createXAQueueSession in interface XAQueueConnectionJMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||