Class RabbitAutoConfiguration.RabbitTemplateConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration.RabbitTemplateConfiguration
- Enclosing class:
- RabbitAutoConfiguration
@Configuration(proxyBeanMethods=false)
@Import(RabbitConnectionFactoryCreator.class)
protected static class RabbitAutoConfiguration.RabbitTemplateConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.amqp.core.AmqpAdmin
amqpAdmin
(org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory) org.springframework.amqp.rabbit.core.RabbitTemplate
rabbitTemplate
(RabbitTemplateConfigurer configurer, org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory, ObjectProvider<RabbitTemplateCustomizer> customizers) rabbitTemplateConfigurer
(RabbitProperties properties, ObjectProvider<org.springframework.amqp.support.converter.MessageConverter> messageConverter, ObjectProvider<RabbitRetryTemplateCustomizer> retryTemplateCustomizers)
-
Constructor Details
-
RabbitTemplateConfiguration
protected RabbitTemplateConfiguration()
-
-
Method Details
-
rabbitTemplateConfigurer
@Bean @ConditionalOnMissingBean public RabbitTemplateConfigurer rabbitTemplateConfigurer(RabbitProperties properties, ObjectProvider<org.springframework.amqp.support.converter.MessageConverter> messageConverter, ObjectProvider<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(RabbitTemplateConfigurer configurer, org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory, ObjectProvider<RabbitTemplateCustomizer> customizers) -
amqpAdmin
@Bean @ConditionalOnSingleCandidate(org.springframework.amqp.rabbit.connection.ConnectionFactory.class) @ConditionalOnProperty(prefix="spring.rabbitmq", name="dynamic", matchIfMissing=true) @ConditionalOnMissingBean public org.springframework.amqp.core.AmqpAdmin amqpAdmin(org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
-