org.apache.activemq.camel
Class CamelTopic

java.lang.Object
  extended by org.apache.activemq.camel.CamelDestination
      extended by org.apache.activemq.camel.CamelTopic
All Implemented Interfaces:
javax.jms.Destination, javax.jms.Topic, CustomDestination, org.apache.camel.CamelContextAware

public class CamelTopic
extends CamelDestination
implements javax.jms.Topic

A JMS Topic object which refers to a Camel endpoint

Version:
$Revision: $

Constructor Summary
CamelTopic(java.lang.String uri)
           
 
Method Summary
 javax.jms.TopicSubscriber createDurableSubscriber(ActiveMQSession session, java.lang.String name, java.lang.String messageSelector, boolean noLocal)
           
 javax.jms.TopicPublisher createPublisher(ActiveMQSession session)
           
 java.lang.String getTopicName()
           
 
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, wait, wait, wait
 
Methods inherited from interface javax.jms.Topic
toString
 

Constructor Detail

CamelTopic

public CamelTopic(java.lang.String uri)
Method Detail

getTopicName

public java.lang.String getTopicName()
                              throws javax.jms.JMSException
Specified by:
getTopicName in interface javax.jms.Topic
Throws:
javax.jms.JMSException

createPublisher

public javax.jms.TopicPublisher createPublisher(ActiveMQSession session)
                                         throws javax.jms.JMSException
Specified by:
createPublisher in interface CustomDestination
Overrides:
createPublisher in class CamelDestination
Throws:
javax.jms.JMSException

createDurableSubscriber

public javax.jms.TopicSubscriber createDurableSubscriber(ActiveMQSession session,
                                                         java.lang.String name,
                                                         java.lang.String messageSelector,
                                                         boolean noLocal)
Specified by:
createDurableSubscriber in interface CustomDestination
Overrides:
createDurableSubscriber in class CamelDestination


Copyright © 2005-2011 The Apache Software Foundation. All Rights Reserved.