|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.jms.Session
org.objectweb.joram.client.jms.QueueSession
Implements the javax.jms.QueueSession
interface.
Field Summary |
Fields inherited from class org.objectweb.joram.client.jms.Session |
messageListener |
Fields inherited from interface javax.jms.Session |
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED |
Method Summary | |
javax.jms.TopicSubscriber |
createDurableSubscriber(javax.jms.Topic topic,
java.lang.String name)
API method. |
javax.jms.TopicSubscriber |
createDurableSubscriber(javax.jms.Topic topic,
java.lang.String name,
java.lang.String selector,
boolean noLocal)
API method. |
javax.jms.QueueReceiver |
createReceiver(javax.jms.Queue queue)
API method. |
javax.jms.QueueReceiver |
createReceiver(javax.jms.Queue queue,
java.lang.String selector)
API method. |
javax.jms.QueueSender |
createSender(javax.jms.Queue queue)
API method. |
javax.jms.TemporaryTopic |
createTemporaryTopic()
API method. |
javax.jms.Topic |
createTopic(java.lang.String topicName)
API method. |
java.lang.String |
toString()
Returns a String image of this session. |
void |
unsubscribe(java.lang.String name)
API method. |
Methods inherited from class org.objectweb.joram.client.jms.Session |
close, commit, createBrowser, createBrowser, createBytesMessage, createConsumer, createConsumer, createConsumer, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createQueue, createStreamMessage, createTemporaryQueue, createTextMessage, createTextMessage, getAcknowledgeMode, getMessageListener, getTransacted, recover, rollback, run, setMessageListener, setTransacted |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.QueueSession |
createBrowser, createBrowser, createQueue, createTemporaryQueue |
Methods inherited from interface javax.jms.Session |
close, commit, createBytesMessage, createConsumer, createConsumer, createConsumer, createMapMessage, createMessage, createObjectMessage, createObjectMessage, createProducer, createStreamMessage, createTextMessage, createTextMessage, getAcknowledgeMode, getMessageListener, getTransacted, recover, rollback, run, setMessageListener |
Method Detail |
public java.lang.String toString()
toString
in class Session
public javax.jms.QueueSender createSender(javax.jms.Queue queue) throws javax.jms.JMSException
createSender
in interface javax.jms.QueueSession
javax.jms.IllegalStateException
- If the session is closed or if the
connection is broken.
javax.jms.JMSException
- If the creation fails for any other reason.public javax.jms.QueueReceiver createReceiver(javax.jms.Queue queue, java.lang.String selector) throws javax.jms.JMSException
createReceiver
in interface javax.jms.QueueSession
javax.jms.IllegalStateException
- If the session is closed or if the
connection is broken.
javax.jms.JMSException
- If the creation fails for any other reason.public javax.jms.QueueReceiver createReceiver(javax.jms.Queue queue) throws javax.jms.JMSException
createReceiver
in interface javax.jms.QueueSession
javax.jms.IllegalStateException
- If the session is closed or if the
connection is broken.
javax.jms.JMSException
- If the creation fails for any other reason.public javax.jms.TopicSubscriber createDurableSubscriber(javax.jms.Topic topic, java.lang.String name, java.lang.String selector, boolean noLocal) throws javax.jms.JMSException
createDurableSubscriber
in interface javax.jms.Session
createDurableSubscriber
in class Session
javax.jms.IllegalStateException
- Systematically.
javax.jms.JMSException
- If the creation fails for any other reason.public javax.jms.TopicSubscriber createDurableSubscriber(javax.jms.Topic topic, java.lang.String name) throws javax.jms.JMSException
createDurableSubscriber
in interface javax.jms.Session
createDurableSubscriber
in class Session
javax.jms.IllegalStateException
- Systematically.
javax.jms.JMSException
- If the creation fails for any other reason.public javax.jms.Topic createTopic(java.lang.String topicName) throws javax.jms.JMSException
createTopic
in interface javax.jms.Session
createTopic
in class Session
javax.jms.IllegalStateException
- Systematically.
javax.jms.JMSException
- If the topic creation failed.public javax.jms.TemporaryTopic createTemporaryTopic() throws javax.jms.JMSException
createTemporaryTopic
in interface javax.jms.Session
createTemporaryTopic
in class Session
javax.jms.IllegalStateException
- Systematically.
javax.jms.JMSException
- If the request fails for any other reason.public void unsubscribe(java.lang.String name) throws javax.jms.JMSException
unsubscribe
in interface javax.jms.Session
unsubscribe
in class Session
javax.jms.IllegalStateException
- Systematically.
javax.jms.JMSException
- If the request fails for any other reason.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |