|
Joram 5.2.6 | ||||||||
| 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
public class QueueSession
Implements the javax.jms.QueueSession interface.
| Field Summary |
|---|
| Fields inherited from class org.objectweb.joram.client.jms.Session |
|---|
logger, 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 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.QueueSessionjavax.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.QueueSessionjavax.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.QueueSessionjavax.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.SessioncreateDurableSubscriber in class Sessionjavax.jms.IllegalStateException - Systematically.
javax.jms.InvalidDestinationException - if an invalid destination is specified.
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.SessioncreateDurableSubscriber in class Sessionjavax.jms.IllegalStateException - Systematically.
javax.jms.InvalidDestinationException - if an invalid destination is specified.
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.SessioncreateTopic in class Sessionjavax.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.SessioncreateTemporaryTopic in class Sessionjavax.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.Sessionunsubscribe in class Sessionjavax.jms.IllegalStateException - Systematically.
javax.jms.InvalidDestinationException - If the subscription does not
exist.
javax.jms.JMSException - If the request fails for any other reason.
|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||