@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    @ConditionalOnMissingBean(name = "amqpTicketRegistryListenerAdapter")
    @Lazy(false)
    public MessageListenerAdapter amqpTicketRegistryListenerAdapter(
        @Qualifier("messageQueueTicketRegistryReceiver")
        final QueueableTicketRegistryMessageReceiver messageQueueTicketRegistryReceiver,
        @Qualifier("messageQueueTicketRegistryConverter")
        final MessageConverter messageQueueTicketRegistryConverter) {
        val adapter = new MessageListenerAdapter(messageQueueTicketRegistryReceiver, "receive");
        adapter.setMessageConverter(messageQueueTicketRegistryConverter);
        return adapter;
    }
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