Refine Topic creation for ChannelTopic and PatternTopic.
Signed-off-by: jonghoonpark <dev@jonghoonpark.com> Closes #3131
This commit is contained in:
committed by
Mark Paluch
parent
42c5a5452b
commit
0de3af0ac5
@@ -162,7 +162,7 @@ XML::
|
||||
----
|
||||
======
|
||||
|
||||
NOTE: The listener topic can be either a channel (for example, `topic="chatroom"`) or a pattern (for example, `topic="*room"`)
|
||||
NOTE: The listener topic can be either a channel (for example, `topic="chatroom"`) or a pattern (for example, `topic="*room"`). For channels, you should use the `ChannelTopic` class, and for patterns, use the `PatternTopic` class.
|
||||
|
||||
The preceding example uses the Redis namespace to declare the message listener container and automatically register the POJOs as listeners. The full-blown beans definition follows:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user