public class CamelTopic extends CamelDestination implements Topic
Topic object which refers to a Camel endpoint| Constructor and Description |
|---|
CamelTopic(String uri) |
| Modifier and Type | Method and Description |
|---|---|
TopicSubscriber |
createDurableSubscriber(org.apache.activemq.ActiveMQSession session,
String name,
String messageSelector,
boolean noLocal) |
TopicPublisher |
createPublisher(org.apache.activemq.ActiveMQSession session) |
String |
getTopicName() |
createConsumer, createConsumer, createProducer, createReceiver, createSender, createSubscriber, getBinding, getCamelContext, getEndpoint, getUri, resolveCamelContext, resolveEndpoint, setBinding, setCamelContext, setEndpoint, setUri, toStringpublic CamelTopic(String uri)
public String getTopicName() throws JMSException
getTopicName in interface TopicJMSExceptionpublic TopicPublisher createPublisher(org.apache.activemq.ActiveMQSession session) throws JMSException
createPublisher in interface org.apache.activemq.CustomDestinationcreatePublisher in class CamelDestinationJMSExceptionpublic TopicSubscriber createDurableSubscriber(org.apache.activemq.ActiveMQSession session, String name, String messageSelector, boolean noLocal)
createDurableSubscriber in interface org.apache.activemq.CustomDestinationcreateDurableSubscriber in class CamelDestinationCopyright © 2005–2017 The Apache Software Foundation. All rights reserved.