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
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDestinationTopics(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- theDestinationTopiclist 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.
-