| Constructor and Description |
|---|
EventSubscriber(String topicName,
MessageListener messageListener) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSubscribed() |
void |
run()
Subscribes to a topic.
|
void |
terminate()
Terminate topic subscriber.
|
public EventSubscriber(String topicName, MessageListener messageListener)
topicName - topic name of this subscriber instance.Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.