org.apache.activemq.camel
Class CamelTopic

java.lang.Object
  extended by org.apache.activemq.camel.CamelDestination
      extended by org.apache.activemq.camel.CamelTopic
All Implemented Interfaces:
Destination, Topic, CustomDestination, org.apache.camel.CamelContextAware

public class CamelTopic
extends CamelDestination
implements Topic

A JMS Topic object which refers to a Camel endpoint


Constructor Summary
CamelTopic(String uri)
           
 
Method Summary
 TopicSubscriber createDurableSubscriber(ActiveMQSession session, String name, String messageSelector, boolean noLocal)
           
 TopicPublisher createPublisher(ActiveMQSession session)
           
 String getTopicName()
           
 
Methods inherited from class org.apache.activemq.camel.CamelDestination
createConsumer, createConsumer, createProducer, createReceiver, createSender, 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.Topic
toString
 

Constructor Detail

CamelTopic

public CamelTopic(String uri)
Method Detail

getTopicName

public String getTopicName()
                    throws JMSException
Specified by:
getTopicName in interface Topic
Throws:
JMSException

createPublisher

public TopicPublisher createPublisher(ActiveMQSession session)
                               throws JMSException
Specified by:
createPublisher in interface CustomDestination
Overrides:
createPublisher in class CamelDestination
Throws:
JMSException

createDurableSubscriber

public TopicSubscriber createDurableSubscriber(ActiveMQSession session,
                                               String name,
                                               String messageSelector,
                                               boolean noLocal)
Specified by:
createDurableSubscriber in interface CustomDestination
Overrides:
createDurableSubscriber in class CamelDestination


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.