@Component
@ConditionalOnProperty(prefix="synapse.edison.health",
name="startup.enabled",
havingValue="true",
matchIfMissing=true)
@ConditionalOnBean(value=de.otto.synapse.eventsource.EventSource.class)
public class StartupHealthIndicator
extends AbstractChannelHealthIndicator
EventSource for the first time.
Caution: If you add eventsources asynchronously please use FixedChannelHealthIndicator instead.TEN_SECONDS| Constructor and Description |
|---|
StartupHealthIndicator(java.util.Optional<java.util.List<de.otto.synapse.eventsource.EventSource>> eventSources) |
health, on