From edc52d5f4f80333368997d80e2fcbd34dea59dd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AD=B1=E9=BE=99=E7=BC=98?= <794334212@qq.com> Date: Fri, 17 Feb 2023 09:58:38 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20Redis=20Pub/Sub=20?= =?UTF-8?q?=E5=B9=BF=E6=92=AD=E6=B6=88=E8=B4=B9=E7=9A=84=E5=AE=B9=E5=99=A8?= =?UTF-8?q?=20=E9=BB=98=E8=AE=A4=E6=9C=AA=E5=90=AF=E5=8A=A8=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=20=E9=BB=98=E8=AE=A4=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=90=AF=E5=8A=A8Redis=20Pub/Sub=20=E5=B9=BF?= =?UTF-8?q?=E6=92=AD=E6=B6=88=E8=B4=B9=E7=9A=84=E5=AE=B9=E5=99=A8=20?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E5=8F=91=E5=87=BA=E6=B6=88=E6=81=AF=E5=90=8E?= =?UTF-8?q?=20=E6=B6=88=E8=B4=B9=E8=80=85=E6=94=B6=E4=B8=8D=E5=88=B0?= =?UTF-8?q?=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 筱龙缘 <794334212@qq.com> --- .../yudao/framework/mq/config/YudaoMQAutoConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yudao-framework/yudao-spring-boot-starter-mq/src/main/java/cn/iocoder/yudao/framework/mq/config/YudaoMQAutoConfiguration.java b/yudao-framework/yudao-spring-boot-starter-mq/src/main/java/cn/iocoder/yudao/framework/mq/config/YudaoMQAutoConfiguration.java index 042a4f736..b452aa546 100644 --- a/yudao-framework/yudao-spring-boot-starter-mq/src/main/java/cn/iocoder/yudao/framework/mq/config/YudaoMQAutoConfiguration.java +++ b/yudao-framework/yudao-spring-boot-starter-mq/src/main/java/cn/iocoder/yudao/framework/mq/config/YudaoMQAutoConfiguration.java @@ -56,7 +56,7 @@ public class YudaoMQAutoConfiguration { /** * 创建 Redis Pub/Sub 广播消费的容器 */ - @Bean + @Bean(initMethod = "start", destroyMethod = "stop") public RedisMessageListenerContainer redisMessageListenerContainer( RedisMQTemplate redisMQTemplate, List> listeners) { // 创建 RedisMessageListenerContainer 对象