Interface TopicResolver<T extends Topic>
- All Known Implementing Classes:
CachingTopicResolver, SimpleTopicResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy for resolving a String destination name to an actual Redis
topic.- Since:
- 4.1
- Author:
- Mark Paluch
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic TopicResolver<ChannelTopic> channel()Return aTopicResolverfor resolvingChannelTopicfor a given topic name.static TopicResolver<PatternTopic> pattern()Return aTopicResolverfor resolvingPatternTopicfor a given topic name.resolveTopic(String name) Resolve the given topic name.
-
Method Details
-
resolveTopic
-
channel
Return aTopicResolverfor resolvingChannelTopicfor a given topic name. -
pattern
Return aTopicResolverfor resolvingPatternTopicfor a given topic name.
-