mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-23 07:41:53 +08:00
!415 修复 Redis Pub/Sub 广播消费的容器 默认未启动的问题
Merge pull request !415 from 筱龙缘/N/A
This commit is contained in:
commit
02da9e5199
@ -56,7 +56,7 @@ public class YudaoMQAutoConfiguration {
|
|||||||
/**
|
/**
|
||||||
* 创建 Redis Pub/Sub 广播消费的容器
|
* 创建 Redis Pub/Sub 广播消费的容器
|
||||||
*/
|
*/
|
||||||
@Bean
|
@Bean(initMethod = "start", destroyMethod = "stop")
|
||||||
public RedisMessageListenerContainer redisMessageListenerContainer(
|
public RedisMessageListenerContainer redisMessageListenerContainer(
|
||||||
RedisMQTemplate redisMQTemplate, List<AbstractChannelMessageListener<?>> listeners) {
|
RedisMQTemplate redisMQTemplate, List<AbstractChannelMessageListener<?>> listeners) {
|
||||||
// 创建 RedisMessageListenerContainer 对象
|
// 创建 RedisMessageListenerContainer 对象
|
||||||
|
Loading…
Reference in New Issue
Block a user