@Bean
        @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
        @ConditionalOnMissingBean(name = "messageQueueTicketRegistryReceiver")
        @Lazy(false)
        public QueueableTicketRegistryMessageReceiver messageQueueTicketRegistryReceiver(
            final ConfigurableApplicationContext applicationContext,
            @Qualifier(TicketRegistry.BEAN_NAME)
            final TicketRegistry ticketRegistry,
            @Qualifier("messageQueueTicketRegistryIdentifier")
            final PublisherIdentifier messageQueueTicketRegistryIdentifier) {
            return ticketRegistry instanceof final QueueableTicketRegistry queueableTicketRegistry
                ? new DefaultQueueableTicketRegistryMessageReceiver(queueableTicketRegistry, messageQueueTicketRegistryIdentifier, applicationContext)
                : QueueableTicketRegistryMessageReceiver.noOp();
        }
This is {@link CasCoreTicketsConfiguration}.

@author Misagh Moayyed
@since 5.0.0
core/cas-server-core-tickets/src/main/java/org/apereo/cas/config/CasCoreTicketsConfiguration.java