@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.springframework.amqp.rabbit.core.RabbitTemplate.class) @ConditionalOnBean(value=org.springframework.amqp.rabbit.core.RabbitTemplate.class) @ConditionalOnEnabledHealthIndicator(value="rabbit") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=RabbitAutoConfiguration.class) public class RabbitHealthIndicatorAutoConfiguration extends CompositeHealthIndicatorConfiguration<RabbitHealthIndicator,org.springframework.amqp.rabbit.core.RabbitTemplate>
Constructor and Description |
---|
RabbitHealthIndicatorAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
HealthIndicator |
rabbitHealthIndicator(Map<String,org.springframework.amqp.rabbit.core.RabbitTemplate> rabbitTemplates) |
createHealthIndicator, createHealthIndicator
public RabbitHealthIndicatorAutoConfiguration()
@Bean @ConditionalOnMissingBean(name="rabbitHealthIndicator") public HealthIndicator rabbitHealthIndicator(Map<String,org.springframework.amqp.rabbit.core.RabbitTemplate> rabbitTemplates)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.