Class RabbitConfiguration
- java.lang.Object
-
- org.springframework.cloud.stream.binder.rabbit.config.RabbitConfiguration
-
@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(org.springframework.boot.autoconfigure.amqp.RabbitProperties.class) public class RabbitConfiguration extends Object
Configuration forRabbitTemplateandCachingConnectionFactory.- Since:
- 3.2
- Author:
- Chris Bono
-
-
Constructor Summary
Constructors Constructor Description RabbitConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.amqp.rabbit.core.RabbitTemplaterabbitTemplate(org.springframework.boot.autoconfigure.amqp.RabbitTemplateConfigurer configurer, org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)org.springframework.boot.autoconfigure.amqp.RabbitTemplateConfigurerrabbitTemplateConfigurer(org.springframework.boot.autoconfigure.amqp.RabbitProperties properties, org.springframework.beans.factory.ObjectProvider<org.springframework.amqp.support.converter.MessageConverter> messageConverter, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.amqp.RabbitRetryTemplateCustomizer> retryTemplateCustomizers)
-
-
-
Method Detail
-
rabbitTemplateConfigurer
@Bean @ConditionalOnMissingBean public org.springframework.boot.autoconfigure.amqp.RabbitTemplateConfigurer rabbitTemplateConfigurer(org.springframework.boot.autoconfigure.amqp.RabbitProperties properties, org.springframework.beans.factory.ObjectProvider<org.springframework.amqp.support.converter.MessageConverter> messageConverter, org.springframework.beans.factory.ObjectProvider<org.springframework.boot.autoconfigure.amqp.RabbitRetryTemplateCustomizer> retryTemplateCustomizers)
-
rabbitTemplate
@Bean @ConditionalOnSingleCandidate(org.springframework.amqp.rabbit.connection.ConnectionFactory.class) @ConditionalOnMissingBean(org.springframework.amqp.rabbit.core.RabbitOperations.class) public org.springframework.amqp.rabbit.core.RabbitTemplate rabbitTemplate(org.springframework.boot.autoconfigure.amqp.RabbitTemplateConfigurer configurer, org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
-
-