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(ActiveMQSession session,
String name,
String messageSelector,
boolean noLocal) |
TopicPublisher |
createPublisher(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(ActiveMQSession session) throws JMSException
createPublisher in interface CustomDestinationcreatePublisher in class CamelDestinationJMSExceptionpublic TopicSubscriber createDurableSubscriber(ActiveMQSession session, String name, String messageSelector, boolean noLocal)
createDurableSubscriber in interface CustomDestinationcreateDurableSubscriber in class CamelDestinationCopyright © 2005–2016 FuseSource, Corp.. All rights reserved.