@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.amqp.rabbit.core.RabbitTemplate.class) @ConditionalOnBean(value=org.springframework.amqp.rabbit.core.RabbitTemplate.class) @ConditionalOnEnabledHealthIndicator(value="rabbit") @AutoConfigureAfter(value=RabbitAutoConfiguration.class) public class RabbitHealthContributorAutoConfiguration extends CompositeHealthContributorConfiguration<RabbitHealthIndicator,org.springframework.amqp.rabbit.core.RabbitTemplate>
Constructor and Description |
---|
RabbitHealthContributorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthContributor |
rabbitHealthContributor(Map<String,org.springframework.amqp.rabbit.core.RabbitTemplate> rabbitTemplates) |
createComposite
createContributor, createIndicator
public RabbitHealthContributorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name={"rabbitHealthIndicator","rabbitHealthContributor"}) public HealthContributor rabbitHealthContributor(Map<String,org.springframework.amqp.rabbit.core.RabbitTemplate> rabbitTemplates)