@Configuration(proxyBeanMethods=false) @ConditionalOnMissingBean(value=org.springframework.amqp.rabbit.connection.ConnectionFactory.class) protected static class RabbitAutoConfiguration.RabbitConnectionFactoryCreator extends Object
Modifier | Constructor and Description |
---|---|
protected |
RabbitConnectionFactoryCreator() |
Modifier and Type | Method and Description |
---|---|
org.springframework.amqp.rabbit.connection.CachingConnectionFactory |
rabbitConnectionFactory(RabbitProperties properties,
ResourceLoader resourceLoader,
ObjectProvider<com.rabbitmq.client.impl.CredentialsProvider> credentialsProvider,
ObjectProvider<com.rabbitmq.client.impl.CredentialsRefreshService> credentialsRefreshService,
ObjectProvider<org.springframework.amqp.rabbit.connection.ConnectionNameStrategy> connectionNameStrategy,
ObjectProvider<ConnectionFactoryCustomizer> connectionFactoryCustomizers) |
@Bean public org.springframework.amqp.rabbit.connection.CachingConnectionFactory rabbitConnectionFactory(RabbitProperties properties, ResourceLoader resourceLoader, ObjectProvider<com.rabbitmq.client.impl.CredentialsProvider> credentialsProvider, ObjectProvider<com.rabbitmq.client.impl.CredentialsRefreshService> credentialsRefreshService, ObjectProvider<org.springframework.amqp.rabbit.connection.ConnectionNameStrategy> connectionNameStrategy, ObjectProvider<ConnectionFactoryCustomizer> connectionFactoryCustomizers) throws Exception
Exception