|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.Connection
org.objectweb.joram.client.jms.QueueConnection
Implements the javax.jms.QueueConnection
interface.
Constructor Summary | |
QueueConnection(FactoryParameters factoryParameters,
RequestChannel requestChannel)
Creates a QueueConnection instance. |
Method Summary | |
javax.jms.ConnectionConsumer |
createConnectionConsumer(javax.jms.Queue queue,
java.lang.String selector,
javax.jms.ServerSessionPool sessionPool,
int maxMessages)
API method. |
javax.jms.ConnectionConsumer |
createDurableConnectionConsumer(javax.jms.Topic topic,
java.lang.String name,
java.lang.String selector,
javax.jms.ServerSessionPool sessPool,
int maxMessages)
API method. |
javax.jms.QueueSession |
createQueueSession(boolean transacted,
int acknowledgeMode)
API method. |
Methods inherited from class org.objectweb.joram.client.jms.Connection |
addSession, checkClosed, cleanup, close, createConnectionConsumer, createSession, equals, getClientID, getExceptionListener, getMetaData, getRequestMultiplexer, setClientID, setExceptionListener, start, stop, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.Connection |
close, createConnectionConsumer, createSession, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop |
Constructor Detail |
public QueueConnection(FactoryParameters factoryParameters, RequestChannel requestChannel) throws javax.jms.JMSException
QueueConnection
instance.
factoryParameters
- The factory parameters.
JMSSecurityException
- If the user identification is incorrect.
javax.jms.IllegalStateException
- If the server is not listening.
javax.jms.JMSException
Method Detail |
public javax.jms.ConnectionConsumer createConnectionConsumer(javax.jms.Queue queue, java.lang.String selector, javax.jms.ServerSessionPool sessionPool, int maxMessages) throws javax.jms.JMSException
createConnectionConsumer
in interface javax.jms.QueueConnection
javax.jms.IllegalStateException
- If the connection is closed.
InvalidSelectorException
- If the selector syntax is wrong.
InvalidDestinationException
- If the target destination does
not exist.
javax.jms.JMSException
- If the method fails for any other reason.public javax.jms.QueueSession createQueueSession(boolean transacted, int acknowledgeMode) throws javax.jms.JMSException
createQueueSession
in interface javax.jms.QueueConnection
javax.jms.IllegalStateException
- If the connection is closed.
javax.jms.JMSException
- In case of an invalid acknowledge mode.public javax.jms.ConnectionConsumer createDurableConnectionConsumer(javax.jms.Topic topic, java.lang.String name, java.lang.String selector, javax.jms.ServerSessionPool sessPool, int maxMessages) throws javax.jms.JMSException
createDurableConnectionConsumer
in interface javax.jms.Connection
createDurableConnectionConsumer
in class Connection
javax.jms.IllegalStateException
- Systematically.
javax.jms.JMSException
- If the method fails for any other reason.
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |