@Bean
    @ConditionalOnMissingBean(name = "amqpTicketRegistryMessageListenerContainer")
    @Lazy(false)
    public MessageListenerContainer amqpTicketRegistryMessageListenerContainer(
        @Qualifier("messageQueueTicketRegistryIdentifier")
        final PublisherIdentifier messageQueueTicketRegistryIdentifier,
        @Qualifier("rabbitConnectionFactory")
        final ConnectionFactory connectionFactory,
        @Qualifier("amqpTicketRegistryListenerAdapter")
        final MessageListenerAdapter listenerAdapter) {
        val container = new SimpleMessageListenerContainer();
        container.setConnectionFactory(connectionFactory);
        container.setQueueNames(messageQueueTicketRegistryIdentifier.getId());
        container.setMessageListener(listenerAdapter);
        return container;
    }
This is {@link CasAMQPTicketRegistryAutoConfiguration}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-amqp-ticket-registry/src/main/java/org/apereo/cas/config/CasAMQPTicketRegistryAutoConfiguration.java