public class CamelQueueReceiver extends CamelMessageConsumer implements QueueReceiver
QueueReceiver which consumes message exchanges from a
Camel Endpoint| Constructor and Description |
|---|
CamelQueueReceiver(CamelQueue destination,
org.apache.camel.Endpoint endpoint,
ActiveMQSession session,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Queue |
getQueue()
Gets the
Queue associated with this queue receiver. |
checkClosed, close, createConsumer, createMessage, getDestination, getEndpoint, getMessageListener, getMessageSelector, getPollingConsumer, getSession, isNoLocal, receive, receive, receiveNoWait, setMessageListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListenerpublic CamelQueueReceiver(CamelQueue destination, org.apache.camel.Endpoint endpoint, ActiveMQSession session, String name)
public Queue getQueue() throws JMSException
Queue 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 © 2005–2015 FuseSource, Corp.. All rights reserved.