@Bean
    @RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
    public MessageConverter messageQueueTicketRegistryConverter(
        @Qualifier(CipherExecutor.BEAN_NAME_TICKET_REGISTRY_CIPHER_EXECUTOR)
        final CipherExecutor defaultTicketRegistryCipherExecutor) {
        val converter = new SerializerMessageConverter();
        converter.setDefaultCharset(StandardCharsets.UTF_8.name());
        converter.setSerializer(new MessageQueueMessageSerializationHandler(defaultTicketRegistryCipherExecutor));
        converter.setDeserializer(new MessageQueueMessageSerializationHandler(defaultTicketRegistryCipherExecutor));
        return converter;
    }
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