Class RabbitConnectionFactoryBeanConfigurer

java.lang.Object
org.springframework.boot.autoconfigure.amqp.RabbitConnectionFactoryBeanConfigurer

public class RabbitConnectionFactoryBeanConfigurer extends Object
Configures RabbitConnectionFactoryBean with sensible defaults.
Since:
2.6.0
Author:
Chris Bono
  • Constructor Details

  • Method Details

    • setCredentialsProvider

      public void setCredentialsProvider(com.rabbitmq.client.impl.CredentialsProvider credentialsProvider)
    • setCredentialsRefreshService

      public void setCredentialsRefreshService(com.rabbitmq.client.impl.CredentialsRefreshService credentialsRefreshService)
    • configure

      public void configure(org.springframework.amqp.rabbit.connection.RabbitConnectionFactoryBean factory)
      Configure the specified rabbit connection factory bean. The factory bean can be further tuned and default settings can be overridden. It is the responsibility of the caller to invoke RabbitConnectionFactoryBean.afterPropertiesSet() though.
      Parameters:
      factory - the RabbitConnectionFactoryBean instance to configure