public class CamelTopicSubscriber extends CamelMessageConsumer implements javax.jms.TopicSubscriber
TopicSubscriber which consumes message exchanges from a
Camel Endpoint| Constructor and Description |
|---|
CamelTopicSubscriber(CamelTopic destination,
org.apache.camel.Endpoint endpoint,
ActiveMQSession session,
java.lang.String name,
java.lang.String messageSelector,
boolean noLocal) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getNoLocal()
Gets the
NoLocal attribute for this subscriber. |
javax.jms.Topic |
getTopic()
Gets the
Topic associated with this subscriber. |
checkClosed, close, createConsumer, createMessage, getDestination, getEndpoint, getMessageListener, getMessageSelector, getPollingConsumer, getSession, isNoLocal, receive, receive, receiveNoWait, setMessageListenerpublic CamelTopicSubscriber(CamelTopic destination, org.apache.camel.Endpoint endpoint, ActiveMQSession session, java.lang.String name, java.lang.String messageSelector, boolean noLocal)
public javax.jms.Topic getTopic()
throws javax.jms.JMSException
Topic associated with this subscriber.getTopic in interface javax.jms.TopicSubscriberTopicjavax.jms.JMSException - if the JMS provider fails to get the topic for this topic
subscriber due to some internal error.public boolean getNoLocal()
throws javax.jms.JMSException
NoLocal attribute for this subscriber. The
default value for this attribute is false.getNoLocal in interface javax.jms.TopicSubscriberjavax.jms.JMSException - if the JMS provider fails to get the NoLocal
attribute for this topic subscriber due to some
internal error.Copyright © 2005-2013 Red Hat, Inc.. All Rights Reserved.