|
|
|
@ -18,7 +18,6 @@ package org.opsli.core.autoconfigure.conf;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.opsli.core.cache.pushsub.receiver.RedisPushSubReceiver;
|
|
|
|
|
import org.opsli.plugins.redis.conf.RedisPluginConfig;
|
|
|
|
|
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
|
|
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
|
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
@ -37,7 +36,6 @@ import org.springframework.data.redis.listener.adapter.MessageListenerAdapter;
|
|
|
|
|
**/
|
|
|
|
|
@Slf4j
|
|
|
|
|
@Configuration
|
|
|
|
|
@AutoConfigureAfter(RedisPluginConfig.class)
|
|
|
|
|
@ConditionalOnProperty(name = "spring.redis.pushsub.enable", havingValue = "true")
|
|
|
|
|
public class RedisMessageListenerConfig {
|
|
|
|
|
|
|
|
|
|