org.apache.camel.jms
Class CamelTopic
java.lang.Object
org.apache.camel.jms.CamelDestination
org.apache.camel.jms.CamelTopic
- All Implemented Interfaces:
- Destination, Topic, org.apache.activemq.CustomDestination, org.apache.camel.CamelContextAware
public class CamelTopic
- extends CamelDestination
- implements Topic
A JMS Topic
object which refers to a Camel endpoint
- Version:
- $Revision: $
Methods inherited from class org.apache.camel.jms.CamelDestination |
createConsumer, createConsumer, createProducer, createReceiver, createSender, createSubscriber, getBinding, getCamelContext, getEndpoint, getUri, resolveCamelContext, resolveEndpoint, setBinding, setCamelContext, setEndpoint, setUri, toString |
CamelTopic
public CamelTopic(String uri)
getTopicName
public String getTopicName()
throws JMSException
- Specified by:
getTopicName
in interface Topic
- Throws:
JMSException
createPublisher
public TopicPublisher createPublisher(org.apache.activemq.ActiveMQSession session)
throws JMSException
- Specified by:
createPublisher
in interface org.apache.activemq.CustomDestination
- Overrides:
createPublisher
in class CamelDestination
- Throws:
JMSException
createDurableSubscriber
public TopicSubscriber createDurableSubscriber(org.apache.activemq.ActiveMQSession session,
String name,
String messageSelector,
boolean noLocal)
- Specified by:
createDurableSubscriber
in interface org.apache.activemq.CustomDestination
- Overrides:
createDurableSubscriber
in class CamelDestination
Copyright © 2007 Apache Software Foundation. All Rights Reserved.