Skip to content

Commit 3f28ae3

Browse files
dev-jonghoonparkmp911de
authored andcommitted
Refine Topic creation for ChannelTopic and PatternTopic.
Signed-off-by: jonghoonpark <[email protected]> Closes #3131
1 parent 6a491e8 commit 3f28ae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/main/antora/modules/ROOT/pages/redis/pubsub.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ XML::
162162
----
163163
======
164164

165-
NOTE: The listener topic can be either a channel (for example, `topic="chatroom"`) or a pattern (for example, `topic="*room"`)
165+
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.
166166

167167
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:
168168

0 commit comments

Comments
 (0)