Class FixedChannelHealthIndicator

java.lang.Object
de.otto.synapse.edison.health.AbstractChannelHealthIndicator
de.otto.synapse.edison.health.FixedChannelHealthIndicator
All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

@Component @ConditionalOnProperty(prefix="synapse.edison.health", name="fixedChannel.enabled", havingValue="true") @ConditionalOnBean(de.otto.synapse.eventsource.EventSource.class) public class FixedChannelHealthIndicator extends AbstractChannelHealthIndicator
A Spring Boot HealthIndicator that is healthy after finishing all events of a fixed list of EventSource for the first time.
  • Constructor Details

    • FixedChannelHealthIndicator

      @Autowired public FixedChannelHealthIndicator(@Value("${synapse.edison.health.fixedChannel.names}") Set<String> fixedChannelNames)