|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.connector.OutboundSession
An OutboundSession
instance wraps a JMS session (XA or not)
for a component involved in outbound messaging.
Field Summary | |
protected OutboundConnection |
cnx
The OutboundConnection the session belongs to. |
protected boolean |
transacted
|
Fields inherited from interface javax.jms.Session |
AUTO_ACKNOWLEDGE, CLIENT_ACKNOWLEDGE, DUPS_OK_ACKNOWLEDGE, SESSION_TRANSACTED |
Method Summary | |
void |
close()
Actually does nothing, closing of the session occurs while closing the component's connection. |
void |
commit()
Forbidden call on a component's outbound session, throws a IllegalStateException instance. |
javax.jms.QueueBrowser |
createBrowser(javax.jms.Queue queue)
Delegates the call to the wrapped JMS session. |
javax.jms.QueueBrowser |
createBrowser(javax.jms.Queue queue,
java.lang.String selector)
Delegates the call to the wrapped JMS session. |
javax.jms.BytesMessage |
createBytesMessage()
Delegates the call to the wrapped JMS session. |
javax.jms.MessageConsumer |
createConsumer(javax.jms.Destination dest)
Delegates the call to the wrapped JMS session. |
javax.jms.MessageConsumer |
createConsumer(javax.jms.Destination dest,
java.lang.String selector)
Delegates the call to the wrapped JMS session. |
javax.jms.MessageConsumer |
createConsumer(javax.jms.Destination dest,
java.lang.String selector,
boolean noLocal)
Delegates the call to the wrapped JMS session. |
javax.jms.TopicSubscriber |
createDurableSubscriber(javax.jms.Topic topic,
java.lang.String name)
Delegates the call to the wrapped JMS session. |
javax.jms.TopicSubscriber |
createDurableSubscriber(javax.jms.Topic topic,
java.lang.String name,
java.lang.String selector,
boolean noLocal)
Delegates the call to the wrapped JMS session. |
javax.jms.MapMessage |
createMapMessage()
Delegates the call to the wrapped JMS session. |
javax.jms.Message |
createMessage()
Delegates the call to the wrapped JMS session. |
javax.jms.ObjectMessage |
createObjectMessage()
Delegates the call to the wrapped JMS session. |
javax.jms.ObjectMessage |
createObjectMessage(java.io.Serializable obj)
Delegates the call to the wrapped JMS session. |
javax.jms.MessageProducer |
createProducer(javax.jms.Destination dest)
Delegates the call to the wrapped JMS session. |
javax.jms.Queue |
createQueue(java.lang.String queueName)
Delegates the call to the wrapped JMS session. |
javax.jms.StreamMessage |
createStreamMessage()
Delegates the call to the wrapped JMS session. |
javax.jms.TemporaryQueue |
createTemporaryQueue()
Delegates the call to the wrapped JMS session. |
javax.jms.TemporaryTopic |
createTemporaryTopic()
Delegates the call to the wrapped JMS session. |
javax.jms.TextMessage |
createTextMessage()
Delegates the call to the wrapped JMS session. |
javax.jms.TextMessage |
createTextMessage(java.lang.String text)
Delegates the call to the wrapped JMS session. |
javax.jms.Topic |
createTopic(java.lang.String topicName)
Delegates the call to the wrapped JMS session. |
int |
getAcknowledgeMode()
Delegates the call to the wrapped JMS session. |
javax.jms.MessageListener |
getMessageListener()
Forbidden call on a component's outbound session, throws a IllegalStateException instance. |
boolean |
getTransacted()
Delegates the call to the wrapped JMS session. |
boolean |
isStarted()
return started value. |
void |
recover()
Delegates the call to the wrapped JMS session. |
void |
rollback()
Forbidden call on a component's outbound session, throws a IllegalStateException instance. |
void |
run()
Method never used by a component, does nothing. |
void |
setMessageListener(javax.jms.MessageListener messageListener)
Forbidden call on a component's outbound session, throws a IllegalStateException instance. |
void |
unsubscribe(java.lang.String name)
Delegates the call to the wrapped JMS session. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected OutboundConnection cnx
OutboundConnection
the session belongs to.
protected boolean transacted
Method Detail |
public int getAcknowledgeMode() throws javax.jms.JMSException
getAcknowledgeMode
in interface javax.jms.Session
javax.jms.JMSException
public boolean getTransacted() throws javax.jms.JMSException
getTransacted
in interface javax.jms.Session
javax.jms.JMSException
public void setMessageListener(javax.jms.MessageListener messageListener) throws javax.jms.JMSException
IllegalStateException
instance.
setMessageListener
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.MessageListener getMessageListener() throws javax.jms.JMSException
IllegalStateException
instance.
getMessageListener
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.Message createMessage() throws javax.jms.JMSException
createMessage
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.TextMessage createTextMessage() throws javax.jms.JMSException
createTextMessage
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.TextMessage createTextMessage(java.lang.String text) throws javax.jms.JMSException
createTextMessage
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.BytesMessage createBytesMessage() throws javax.jms.JMSException
createBytesMessage
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.MapMessage createMapMessage() throws javax.jms.JMSException
createMapMessage
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.ObjectMessage createObjectMessage() throws javax.jms.JMSException
createObjectMessage
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.ObjectMessage createObjectMessage(java.io.Serializable obj) throws javax.jms.JMSException
createObjectMessage
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.StreamMessage createStreamMessage() throws javax.jms.JMSException
createStreamMessage
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.QueueBrowser createBrowser(javax.jms.Queue queue, java.lang.String selector) throws javax.jms.JMSException
createBrowser
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.QueueBrowser createBrowser(javax.jms.Queue queue) throws javax.jms.JMSException
createBrowser
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.MessageProducer createProducer(javax.jms.Destination dest) throws javax.jms.JMSException
createProducer
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.MessageConsumer createConsumer(javax.jms.Destination dest, java.lang.String selector, boolean noLocal) throws javax.jms.JMSException
createConsumer
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.MessageConsumer createConsumer(javax.jms.Destination dest, java.lang.String selector) throws javax.jms.JMSException
createConsumer
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.MessageConsumer createConsumer(javax.jms.Destination dest) throws javax.jms.JMSException
createConsumer
in interface javax.jms.Session
javax.jms.JMSException
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
javax.jms.JMSException
public javax.jms.TopicSubscriber createDurableSubscriber(javax.jms.Topic topic, java.lang.String name) throws javax.jms.JMSException
createDurableSubscriber
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.Queue createQueue(java.lang.String queueName) throws javax.jms.JMSException
createQueue
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.Topic createTopic(java.lang.String topicName) throws javax.jms.JMSException
createTopic
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.TemporaryQueue createTemporaryQueue() throws javax.jms.JMSException
createTemporaryQueue
in interface javax.jms.Session
javax.jms.JMSException
public javax.jms.TemporaryTopic createTemporaryTopic() throws javax.jms.JMSException
createTemporaryTopic
in interface javax.jms.Session
javax.jms.JMSException
public void run()
run
in interface javax.jms.Session
public void commit() throws javax.jms.JMSException
IllegalStateException
instance.
commit
in interface javax.jms.Session
javax.jms.JMSException
public void rollback() throws javax.jms.JMSException
IllegalStateException
instance.
rollback
in interface javax.jms.Session
javax.jms.JMSException
public void recover() throws javax.jms.JMSException
recover
in interface javax.jms.Session
javax.jms.JMSException
public void unsubscribe(java.lang.String name) throws javax.jms.JMSException
unsubscribe
in interface javax.jms.Session
javax.jms.JMSException
public void close() throws javax.jms.JMSException
close
in interface javax.jms.Session
javax.jms.JMSException
public boolean isStarted()
|
Joram ${version} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |