org.apache.activemq.camel
Class CamelQueue

java.lang.Object
  extended by org.apache.activemq.camel.CamelDestination
      extended by org.apache.activemq.camel.CamelQueue
All Implemented Interfaces:
javax.jms.Destination, javax.jms.Queue, CustomDestination, org.apache.camel.CamelContextAware

public class CamelQueue
extends CamelDestination
implements javax.jms.Queue

A JMS Queue object which refers to a Camel endpoint


Constructor Summary
CamelQueue(java.lang.String uri)
           
 
Method Summary
 javax.jms.QueueReceiver createReceiver(ActiveMQSession session, java.lang.String messageSelector)
           
 javax.jms.QueueSender createSender(ActiveMQSession session)
           
 java.lang.String getQueueName()
           
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.Queue
toString
 

Constructor Detail

CamelQueue

public CamelQueue(java.lang.String uri)
Method Detail

getQueueName

public java.lang.String getQueueName()
                              throws javax.jms.JMSException
Specified by:
getQueueName in interface javax.jms.Queue
Throws:
javax.jms.JMSException

createSender

public javax.jms.QueueSender createSender(ActiveMQSession session)
                                   throws javax.jms.JMSException
Specified by:
createSender in interface CustomDestination
Overrides:
createSender in class CamelDestination
Throws:
javax.jms.JMSException

createReceiver

public javax.jms.QueueReceiver createReceiver(ActiveMQSession session,
                                              java.lang.String messageSelector)
Specified by:
createReceiver in interface CustomDestination
Overrides:
createReceiver in class CamelDestination


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.