public class CamelQueueReceiver extends CamelMessageConsumer implements javax.jms.QueueReceiver
QueueReceiver which consumes message exchanges from a
Camel Endpoint| Constructor and Description |
|---|
CamelQueueReceiver(CamelQueue destination,
org.apache.camel.Endpoint endpoint,
ActiveMQSession session,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Queue |
getQueue()
Gets the
Queue associated with this queue receiver. |
checkClosed, close, createConsumer, createMessage, getDestination, getEndpoint, getMessageListener, getMessageSelector, getPollingConsumer, getSession, isNoLocal, receive, receive, receiveNoWait, setMessageListenerpublic CamelQueueReceiver(CamelQueue destination, org.apache.camel.Endpoint endpoint, ActiveMQSession session, java.lang.String name)
public javax.jms.Queue getQueue()
throws javax.jms.JMSException
Queue associated with this queue receiver.getQueue in interface javax.jms.QueueReceiverQueuejavax.jms.JMSException - if the JMS provider fails to get the queue for this queue
receiver due to some internal error.Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.