Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0de3af0

Browse files
dev-jonghoonparkmp911de
authored andcommittedApr 17, 2025
Refine Topic creation for ChannelTopic and PatternTopic.
Signed-off-by: jonghoonpark <[email protected]> Closes #3131
1 parent 42c5a54 commit 0de3af0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/main/antora/modules/ROOT/pages/redis/pubsub.adoc

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.