From adce523adb49a59831c3d187bcb0b0d3eb105a68 Mon Sep 17 00:00:00 2001 From: jonghoonpark Date: Wed, 16 Apr 2025 14:39:40 +0900 Subject: [PATCH] Added a mention of the PatternTopic class to the pubsub.adoc document Signed-off-by: jonghoonpark --- 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 6539ca127c..736683835a 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: