public class CamelTopicSubscriber extends CamelMessageConsumer implements TopicSubscriber
TopicSubscriber which consumes message exchanges from a
Camel Endpoint| Constructor and Description |
|---|
CamelTopicSubscriber(CamelTopic destination,
org.apache.camel.Endpoint endpoint,
ActiveMQSession session,
String name,
String messageSelector,
boolean noLocal) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getNoLocal()
Gets the
NoLocal attribute for this subscriber. |
Topic |
getTopic()
Gets the
Topic associated with this subscriber. |
checkClosed, close, createConsumer, createMessage, getDestination, getEndpoint, getMessageListener, getMessageSelector, getPollingConsumer, getSession, isNoLocal, receive, receive, receiveNoWait, setMessageListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getMessageListener, getMessageSelector, receive, receive, receiveNoWait, setMessageListenerpublic CamelTopicSubscriber(CamelTopic destination, org.apache.camel.Endpoint endpoint, ActiveMQSession session, String name, String messageSelector, boolean noLocal)
public Topic getTopic() throws JMSException
Topic associated with this subscriber.getTopic in interface TopicSubscriberTopicJMSException - if the JMS provider fails to get the topic for this topic
subscriber due to some internal error.public boolean getNoLocal() throws JMSException
NoLocal attribute for this subscriber. The
default value for this attribute is false.getNoLocal in interface TopicSubscriberJMSException - if the JMS provider fails to get the NoLocal
attribute for this topic subscriber due to some
internal error.Copyright © 2005–2015 FuseSource, Corp.. All rights reserved.