public interface MessageQueue
Modifier and Type | Method and Description |
---|---|
void |
addTopic(String topic)
Adds topic to the queue.
|
void |
addTopics(Set<String> newTopics)
Adds all topics to the queue.
|
void |
forEachTopic(Consumer<String> action)
Performs the given action for all topics in the queue.
|
String |
getName()
Returns the queue name.
|
String |
getService()
Returns the full qualified service name.
|
List<String> |
getTopics()
Provides all topics of the queue.
|
MessageType |
getType()
Returns the message type.
|
boolean |
hasOwnNamespace()
Determines whether the message queue defines their own name space.
|
void forEachTopic(Consumer<String> action)
action
- action for each topicvoid addTopics(Set<String> newTopics)
newTopics
- set of topic patternsvoid addTopic(String topic)
topic
- topic patternString getName()
String getService()
MessageType getType()
boolean hasOwnNamespace()
true
if has own name space and false
otherwise.Copyright © 2020. All rights reserved.