@Configuration @ConditionalOnClass(value={org.springframework.data.mongodb.core.ReactiveMongoTemplate.class,reactor.core.publisher.Flux.class}) @ConditionalOnBean(value=org.springframework.data.mongodb.core.ReactiveMongoTemplate.class) @ConditionalOnEnabledHealthIndicator(value="mongo") @AutoConfigureBefore(value=HealthIndicatorAutoConfiguration.class) @AutoConfigureAfter(value=MongoReactiveDataAutoConfiguration.class) public class MongoReactiveHealthIndicatorAutoConfiguration extends CompositeReactiveHealthIndicatorConfiguration<MongoReactiveHealthIndicator,org.springframework.data.mongodb.core.ReactiveMongoTemplate>
Modifier and Type | Method and Description |
---|---|
ReactiveHealthIndicator |
mongoHealthIndicator() |
createHealthIndicator, createHealthIndicator
@Bean @ConditionalOnMissingBean(name="mongoHealthIndicator") public ReactiveHealthIndicator mongoHealthIndicator()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.