|
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.OutboundConsumer
An OutboundConsumer instance wraps a JMS consumer
for a component involved in outbound messaging.
| Field Summary | |
protected javax.jms.MessageConsumer |
consumer
Wrapped JMS consumer. |
protected OutboundSession |
session
The OutboundSession this consumer belongs to. |
| Method Summary | |
protected void |
checkValidity()
Checks the validity of the subscriber instance. |
void |
close()
Delegates the call to the wrapped JMS consumer. |
javax.jms.MessageListener |
getMessageListener()
Forbidden call on a component's outbound consumer, throws a IllegalStateException instance. |
java.lang.String |
getMessageSelector()
Delegates the call to the wrapped JMS consumer. |
javax.jms.Message |
receive()
Delegates the call to the wrapped JMS consumer. |
javax.jms.Message |
receive(long timeOut)
Delegates the call to the wrapped JMS consumer. |
javax.jms.Message |
receiveNoWait()
Delegates the call to the wrapped JMS consumer. |
void |
setMessageListener(javax.jms.MessageListener messageListener)
Forbidden call on a component's outbound consumer, throws a IllegalStateException instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected OutboundSession session
OutboundSession this consumer belongs to.
protected javax.jms.MessageConsumer consumer
| Method Detail |
public void setMessageListener(javax.jms.MessageListener messageListener)
throws javax.jms.JMSException
IllegalStateException instance.
setMessageListener in interface javax.jms.MessageConsumerjavax.jms.JMSException
public javax.jms.MessageListener getMessageListener()
throws javax.jms.JMSException
IllegalStateException instance.
getMessageListener in interface javax.jms.MessageConsumerjavax.jms.JMSException
public java.lang.String getMessageSelector()
throws javax.jms.JMSException
getMessageSelector in interface javax.jms.MessageConsumerjavax.jms.JMSException
public javax.jms.Message receive(long timeOut)
throws javax.jms.JMSException
receive in interface javax.jms.MessageConsumerjavax.jms.JMSException
public javax.jms.Message receive()
throws javax.jms.JMSException
receive in interface javax.jms.MessageConsumerjavax.jms.JMSException
public javax.jms.Message receiveNoWait()
throws javax.jms.JMSException
receiveNoWait in interface javax.jms.MessageConsumerjavax.jms.JMSException
public void close()
throws javax.jms.JMSException
close in interface javax.jms.MessageConsumerjavax.jms.JMSException
protected void checkValidity()
throws javax.jms.IllegalStateException
javax.jms.IllegalStateException
|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||