org.apache.activemq.camel
Class CamelTopic
java.lang.Object
org.apache.activemq.camel.CamelDestination
org.apache.activemq.camel.CamelTopic
- All Implemented Interfaces:
- javax.jms.Destination, javax.jms.Topic, org.apache.activemq.CustomDestination, org.apache.camel.CamelContextAware
public class CamelTopic
- extends CamelDestination
- implements javax.jms.Topic
A JMS Topic object which refers to a Camel endpoint
| 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 |
CamelTopic
public CamelTopic(String uri)
getTopicName
public String getTopicName()
throws javax.jms.JMSException
- Specified by:
getTopicName in interface javax.jms.Topic
- Throws:
javax.jms.JMSException
createPublisher
public javax.jms.TopicPublisher createPublisher(org.apache.activemq.ActiveMQSession session)
throws javax.jms.JMSException
- Specified by:
createPublisher in interface org.apache.activemq.CustomDestination- Overrides:
createPublisher in class CamelDestination
- Throws:
javax.jms.JMSException
createDurableSubscriber
public javax.jms.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 © 2005-2013 The Apache Software Foundation. All Rights Reserved.