@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.amqp.rabbit.core.RabbitMessagingTemplate.class) @ConditionalOnMissingBean(value=org.springframework.amqp.rabbit.core.RabbitMessagingTemplate.class) @Import(value=RabbitAutoConfiguration.RabbitTemplateConfiguration.class) protected static class RabbitAutoConfiguration.MessagingTemplateConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
MessagingTemplateConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.amqp.rabbit.core.RabbitMessagingTemplate |
rabbitMessagingTemplate(org.springframework.amqp.rabbit.core.RabbitTemplate rabbitTemplate) |
@Bean @ConditionalOnSingleCandidate(value=org.springframework.amqp.rabbit.core.RabbitTemplate.class) public org.springframework.amqp.rabbit.core.RabbitMessagingTemplate rabbitMessagingTemplate(org.springframework.amqp.rabbit.core.RabbitTemplate rabbitTemplate)