From 0de3af0ac5dd254492aed934ca49ebcfbc615351 Mon Sep 17 00:00:00 2001 From: jonghoonpark Date: Wed, 16 Apr 2025 14:39:40 +0900 Subject: [PATCH] Refine `Topic` creation for `ChannelTopic` and `PatternTopic`. Signed-off-by: jonghoonpark Closes #3131 --- src/main/antora/modules/ROOT/pages/redis/pubsub.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/antora/modules/ROOT/pages/redis/pubsub.adoc b/src/main/antora/modules/ROOT/pages/redis/pubsub.adoc index 6539ca127..736683835 100644 --- a/src/main/antora/modules/ROOT/pages/redis/pubsub.adoc +++ b/src/main/antora/modules/ROOT/pages/redis/pubsub.adoc @@ -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: