@Bean
        @ConditionalOnMissingBean(name = "redisTicketRegistryMessageListenerContainer")
        public RedisMessageListenerContainer redisTicketRegistryMessageListenerContainer(
            @Qualifier("redisTicketRegistryMessageTopic")
            final ChannelTopic redisTicketRegistryMessageTopic,
            @Qualifier("redisTicketRegistryMessageListener")
            final MessageListener redisTicketRegistryMessageListener,
            @Qualifier("redisTicketConnectionFactory")
            final RedisConnectionFactory redisTicketConnectionFactory) {
            val container = new RedisMessageListenerContainer();
            container.setConnectionFactory(redisTicketConnectionFactory);
            container.addMessageListener(redisTicketRegistryMessageListener, redisTicketRegistryMessageTopic);
            return container;
        }
This is {@link CasRedisTicketRegistryAutoConfiguration}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-redis-ticket-registry/src/main/java/org/apereo/cas/config/CasRedisTicketRegistryAutoConfiguration.java