@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public QueueableTicketRegistryMessagePublisher messageQueueTicketRegistryPublisher(
        @Qualifier("messageQueueTicketRegistryIdentifier")
        final PublisherIdentifier messageQueueTicketRegistryIdentifier,
        @Qualifier("messageQueueTicketRegistryConverter")
        final MessageConverter messageQueueTicketRegistryConverter,
        final RabbitTemplate rabbitTemplate) {
        rabbitTemplate.setMessageConverter(messageQueueTicketRegistryConverter);
        LOGGER.debug("Configuring AMQP ticket registry with identifier [{}]", messageQueueTicketRegistryIdentifier);
        return new AMQPTicketRegistryQueuePublisher(rabbitTemplate);
    }
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