类 CachingConnectionFactoryConfigurer

java.lang.Object
org.springframework.boot.autoconfigure.amqp.AbstractConnectionFactoryConfigurer<org.springframework.amqp.rabbit.connection.CachingConnectionFactory>
org.springframework.boot.autoconfigure.amqp.CachingConnectionFactoryConfigurer

public class CachingConnectionFactoryConfigurer extends AbstractConnectionFactoryConfigurer<org.springframework.amqp.rabbit.connection.CachingConnectionFactory>
Configures Rabbit CachingConnectionFactory with sensible defaults.
从以下版本开始:
2.6.0
作者:
Chris Bono, Moritz Halbritter, Andy Wilkinson, Phillip Webb
  • 构造器详细资料

    • CachingConnectionFactoryConfigurer

      public CachingConnectionFactoryConfigurer(RabbitProperties properties)
      Creates a new configurer that will configure the connection factory using the given properties.
      参数:
      properties - the properties to use to configure the connection factory
    • CachingConnectionFactoryConfigurer

      public CachingConnectionFactoryConfigurer(RabbitProperties properties, RabbitConnectionDetails connectionDetails)
      Creates a new configurer that will configure the connection factory using the given properties and connectionDetails, with the latter taking priority.
      参数:
      properties - the properties to use to configure the connection factory
      connectionDetails - the connection details to use to configure the connection factory
      从以下版本开始:
      3.1.0
  • 方法详细资料

    • configure

      public void configure(org.springframework.amqp.rabbit.connection.CachingConnectionFactory connectionFactory, RabbitProperties rabbitProperties)
      从类复制的说明: AbstractConnectionFactoryConfigurer
      Configures the given connectionFactory using the given rabbitProperties.
      指定者:
      configure 在类中 AbstractConnectionFactoryConfigurer<org.springframework.amqp.rabbit.connection.CachingConnectionFactory>
      参数:
      connectionFactory - connection factory to configure
      rabbitProperties - properties to use for the configuration