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, setMessageListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListener
public 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 QueueReceiver
Queue
JMSException
- if the JMS provider fails to get the queue for this queue
receiver due to some internal error.Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.