Class RabbitAutoConfiguration.MessagingTemplateConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration.MessagingTemplateConfiguration
- Enclosing class:
- RabbitAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(org.springframework.amqp.rabbit.core.RabbitMessagingTemplate.class)
@ConditionalOnMissingBean(org.springframework.amqp.rabbit.core.RabbitMessagingTemplate.class)
@Import(RabbitTemplateConfiguration.class)
protected static class RabbitAutoConfiguration.MessagingTemplateConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.amqp.rabbit.core.RabbitMessagingTemplate
rabbitMessagingTemplate
(org.springframework.amqp.rabbit.core.RabbitTemplate rabbitTemplate)
-
Constructor Details
-
MessagingTemplateConfiguration
protected MessagingTemplateConfiguration()
-
-
Method Details
-
rabbitMessagingTemplate
@Bean @ConditionalOnSingleCandidate(org.springframework.amqp.rabbit.core.RabbitTemplate.class) public org.springframework.amqp.rabbit.core.RabbitMessagingTemplate rabbitMessagingTemplate(org.springframework.amqp.rabbit.core.RabbitTemplate rabbitTemplate)
-