Interface DestinationTopicContainer
- All Known Subinterfaces:
DestinationTopicResolver
- All Known Implementing Classes:
DefaultDestinationTopicResolver
public interface DestinationTopicContainer
Provides methods to store and retrieve
DestinationTopic
instances.- Since:
- 2.7
- Author:
- Tomaz Fernandes
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDestinationTopics
(List<DestinationTopic> destinationTopics) Adds the provided destination topics to the container.getDestinationTopicByName
(String topicName) Returns the DestinationTopic instance registered for that topic.
-
Method Details
-
addDestinationTopics
Adds the provided destination topics to the container.- Parameters:
destinationTopics
- theDestinationTopic
list to add.
-
getDestinationTopicByName
Returns the DestinationTopic instance registered for that topic.- Parameters:
topicName
- the topic name of the DestinationTopic to be returned.- Returns:
- the DestinationTopic instance registered for that topic.
-