public class JmsQueueReceiver extends JmsMessageConsumer implements QueueReceiver
| Constructor and Description |
|---|
JmsQueueReceiver(QueueReceiver consumer,
JmsSession session)
Create a new wrapper
|
| Modifier and Type | Method and Description |
|---|---|
Queue |
getQueue()
Gets the
Queue associated with this queue receiver. |
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListenerpublic JmsQueueReceiver(QueueReceiver consumer, JmsSession session)
consumer - the queue receiversession - the sessionpublic Queue getQueue() throws JMSException
QueueReceiverQueue associated with this queue receiver.getQueue in interface QueueReceiverQueueJMSException - if the JMS provider fails to get the queue for
this queue receiver
due to some internal error.Copyright © 2018 JBoss by Red Hat. All rights reserved.