@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value=org.springframework.boot.autoconfigure.amqp.RabbitProperties.class) public class RabbitConfiguration extends Object
RabbitTemplate and CachingConnectionFactory.| Constructor and Description |
|---|
RabbitConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.amqp.rabbit.core.RabbitTemplate |
rabbitTemplate(org.springframework.boot.autoconfigure.amqp.RabbitTemplateConfigurer configurer,
org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory) |
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) |
@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)
@Bean
@ConditionalOnSingleCandidate(value=org.springframework.amqp.rabbit.connection.ConnectionFactory.class)
@ConditionalOnMissingBean(value=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)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.