File tree Expand file tree Collapse file tree 1 file changed +1
-20
lines changed
src/main/java/com/somemore/global/redis/config Expand file tree Collapse file tree 1 file changed +1
-20
lines changed Original file line number Diff line number Diff line change @@ -66,23 +66,4 @@ public RedisMessageListenerContainer redisMessageListenerContainer(RedisConnecti
6666 container .setConnectionFactory (connectionFactory );
6767 return container ;
6868 }
69-
70- @ Bean
71- public ChannelTopic notificationTopic () {
72- return new ChannelTopic ("notifications" );
73- }
74-
75- @ Bean
76- public Map <ServerEventType , ChannelTopic > eventTopicMap (ChannelTopic notificationTopic ) {
77- return Map .of (
78- ServerEventType .NOTIFICATION , notificationTopic
79- );
80- }
81-
82- @ Bean
83- public RedisMessageListenerContainer redisMessageListenerContainer (RedisConnectionFactory connectionFactory ) {
84- RedisMessageListenerContainer container = new RedisMessageListenerContainer ();
85- container .setConnectionFactory (connectionFactory );
86- return container ;
87- }
88- }
69+ }
You can’t perform that action at this time.
0 commit comments