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