@Configuration(proxyBeanMethods=false) @Import(value=RabbitAutoConfiguration.RabbitConnectionFactoryCreator.class) protected static class RabbitAutoConfiguration.RabbitTemplateConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
RabbitTemplateConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.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) |
RabbitTemplateConfigurer |
rabbitTemplateConfigurer(RabbitProperties properties,
ObjectProvider<org.springframework.amqp.support.converter.MessageConverter> messageConverter,
ObjectProvider<RabbitRetryTemplateCustomizer> retryTemplateCustomizers) |
@Bean @ConditionalOnMissingBean public RabbitTemplateConfigurer rabbitTemplateConfigurer(RabbitProperties properties, ObjectProvider<org.springframework.amqp.support.converter.MessageConverter> messageConverter, ObjectProvider<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(RabbitTemplateConfigurer configurer, org.springframework.amqp.rabbit.connection.ConnectionFactory connectionFactory)
@Bean @ConditionalOnSingleCandidate(value=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)