@Configuration @ConditionalOnClass(value={, }) @EnableConfigurationProperties(value=RabbitAutoConfiguration.RabbitConnectionFactoryProperties.class) public class RabbitAutoConfiguration extends Object
Auto-configuration
for RabbitTemplate
.Modifier and Type | Class and Description |
---|---|
protected static class |
RabbitAutoConfiguration.RabbitConnectionFactoryCreator |
static class |
RabbitAutoConfiguration.RabbitConnectionFactoryProperties |
Constructor and Description |
---|
RabbitAutoConfiguration() |
@Bean @ConditionalOnMissingBean(value=) public AmqpAdmin amqpAdmin(CachingConnectionFactory connectionFactory)
@Bean @ConditionalOnMissingBean(value=) public RabbitTemplate rabbitTemplate()
Copyright © 2014. All rights reserved.