Class OutboundReceiver
- java.lang.Object
-
- org.objectweb.joram.client.connector.OutboundConsumer
-
- org.objectweb.joram.client.connector.OutboundReceiver
-
- All Implemented Interfaces:
AutoCloseable,MessageConsumer,QueueReceiver
public class OutboundReceiver extends OutboundConsumer implements QueueReceiver
AnOutboundReceiverinstance wraps a JMS PTP consumer for a component involved in outbound messaging.
-
-
Constructor Summary
Constructors Constructor Description OutboundReceiver(Queue queue, MessageConsumer consumer, OutboundSession session)Constructs anOutboundReceiverinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueuegetQueue()Returns the consumer's queue.-
Methods inherited from class org.objectweb.joram.client.connector.OutboundConsumer
checkValidity, close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.jms.MessageConsumer
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
-
-
-
-
Constructor Detail
-
OutboundReceiver
OutboundReceiver(Queue queue, MessageConsumer consumer, OutboundSession session) throws JMSException
Constructs anOutboundReceiverinstance.- Throws:
JMSException
-
-
Method Detail
-
getQueue
public Queue getQueue() throws JMSException
Returns the consumer's queue.- Specified by:
getQueuein interfaceQueueReceiver- Throws:
JMSException
-
-