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