Class 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.- Since:
- 2.6.0
- Author:
- Chris Bono
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(org.springframework.amqp.rabbit.connection.CachingConnectionFactory connectionFactory, RabbitProperties rabbitProperties) Configures the givenconnectionFactory
using the givenrabbitProperties
.Methods inherited from class org.springframework.boot.autoconfigure.amqp.AbstractConnectionFactoryConfigurer
configure, getConnectionNameStrategy, setConnectionNameStrategy
-
Constructor Details
-
CachingConnectionFactoryConfigurer
-
-
Method Details
-
configure
public void configure(org.springframework.amqp.rabbit.connection.CachingConnectionFactory connectionFactory, RabbitProperties rabbitProperties) Description copied from class:AbstractConnectionFactoryConfigurer
Configures the givenconnectionFactory
using the givenrabbitProperties
.- Specified by:
configure
in classAbstractConnectionFactoryConfigurer<org.springframework.amqp.rabbit.connection.CachingConnectionFactory>
- Parameters:
connectionFactory
- connection factory to configurerabbitProperties
- properties to use for the configuration
-