org.springframework.boot.autoconfigure.amqp

Class AbstractRabbitListenerContainerFactoryConfigurer<T extends org.springframework.amqp.rabbit.config.AbstractRabbitListenerContainerFactory<?>>

  • java.lang.Object
    • org.springframework.boot.autoconfigure.amqp.AbstractRabbitListenerContainerFactoryConfigurer<T>
    • Constructor Detail

      • AbstractRabbitListenerContainerFactoryConfigurer

        public AbstractRabbitListenerContainerFactoryConfigurer()
    • Method Detail

      • setMessageConverter

        protected void setMessageConverter(org.springframework.amqp.support.converter.MessageConverter messageConverter)
        Set the MessageConverter to use or null if the out-of-the-box converter should be used.
        Parameters:
        messageConverter - the MessageConverter
      • setMessageRecoverer

        protected void setMessageRecoverer(org.springframework.amqp.rabbit.retry.MessageRecoverer messageRecoverer)
        Set the MessageRecoverer to use or null to rely on the default.
        Parameters:
        messageRecoverer - the MessageRecoverer
      • configure

        public abstract void configure(T factory,
                                       org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
        Configure the specified rabbit listener container factory. The factory can be further tuned and default settings can be overridden.
        Parameters:
        factory - the AbstractRabbitListenerContainerFactory instance to configure
        connectionFactory - the ConnectionFactory to use
      • configure

        protected void configure(T factory,
                                 org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory,
                                 RabbitProperties.AmqpContainer configuration)