public class CamelTopic extends CamelDestination implements Topic
Topic
object which refers to a Camel endpointConstructor 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, toString
public CamelTopic(String uri)
public String getTopicName() throws JMSException
getTopicName
in interface Topic
JMSException
public TopicPublisher createPublisher(ActiveMQSession session) throws JMSException
createPublisher
in interface CustomDestination
createPublisher
in class CamelDestination
JMSException
public TopicSubscriber createDurableSubscriber(ActiveMQSession session, String name, String messageSelector, boolean noLocal)
createDurableSubscriber
in interface CustomDestination
createDurableSubscriber
in class CamelDestination
Copyright © 2005–2016 FuseSource, Corp.. All rights reserved.