org.apache.activemq.camel
Class CamelQueue
java.lang.Object
org.apache.activemq.camel.CamelDestination
org.apache.activemq.camel.CamelQueue
- All Implemented Interfaces:
- javax.jms.Destination, javax.jms.Queue, org.apache.activemq.CustomDestination, org.apache.camel.CamelContextAware
public class CamelQueue
- extends CamelDestination
- implements javax.jms.Queue
A JMS Queue object which refers to a Camel endpoint
| Methods inherited from class org.apache.activemq.camel.CamelDestination |
createConsumer, createConsumer, createDurableSubscriber, createProducer, createPublisher, createSubscriber, getBinding, getCamelContext, getEndpoint, getUri, resolveCamelContext, resolveEndpoint, setBinding, setCamelContext, setEndpoint, setUri, toString |
| Methods inherited from interface javax.jms.Queue |
toString |
CamelQueue
public CamelQueue(String uri)
getQueueName
public String getQueueName()
throws javax.jms.JMSException
- Specified by:
getQueueName in interface javax.jms.Queue
- Throws:
javax.jms.JMSException
createSender
public javax.jms.QueueSender createSender(org.apache.activemq.ActiveMQSession session)
throws javax.jms.JMSException
- Specified by:
createSender in interface org.apache.activemq.CustomDestination- Overrides:
createSender in class CamelDestination
- Throws:
javax.jms.JMSException
createReceiver
public javax.jms.QueueReceiver createReceiver(org.apache.activemq.ActiveMQSession session,
String messageSelector)
- Specified by:
createReceiver in interface org.apache.activemq.CustomDestination- Overrides:
createReceiver in class CamelDestination
Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.