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