public class JmsPoolQueueReceiver extends JmsPoolMessageConsumer implements javax.jms.QueueReceiver, AutoCloseable
QueueReceiver which was created by JmsPoolSession.| Constructor and Description |
|---|
JmsPoolQueueReceiver(JmsPoolSession session,
javax.jms.QueueReceiver delegate)
Wraps the QueueReceiver.
|
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Queue |
getQueue() |
javax.jms.QueueReceiver |
getQueueReceiver() |
String |
toString() |
checkClosed, close, getDelegate, getMessageConsumer, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListenerpublic JmsPoolQueueReceiver(JmsPoolSession session, javax.jms.QueueReceiver delegate)
session - the pooled session that created this object.delegate - the created QueueReceiver to wrap.public javax.jms.Queue getQueue()
throws javax.jms.JMSException
getQueue in interface javax.jms.QueueReceiverjavax.jms.JMSExceptionpublic String toString()
toString in class JmsPoolMessageConsumerpublic javax.jms.QueueReceiver getQueueReceiver()
throws javax.jms.JMSException
javax.jms.JMSExceptionCopyright © 2017–2019. All rights reserved.