Package de.otto.synapse.edison.health
Class MessageReceiverEndpointHealthIndicator
java.lang.Object
de.otto.synapse.edison.health.MessageReceiverEndpointHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
@Component
@ConditionalOnProperty(prefix="synapse.edison.health",
name="messagereceiver.enabled",
havingValue="true",
matchIfMissing=true)
@ConditionalOnBean(de.otto.synapse.endpoint.receiver.MessageLogReceiverEndpoint.class)
public class MessageReceiverEndpointHealthIndicator
extends Object
implements org.springframework.boot.actuate.health.HealthIndicator
-
Constructor Details
-
MessageReceiverEndpointHealthIndicator
public MessageReceiverEndpointHealthIndicator()
-
-
Method Details
-
on
@EventListener public void on(de.otto.synapse.info.MessageReceiverNotification messageEndpointNotification) -
health
public org.springframework.boot.actuate.health.Health health()- Specified by:
healthin interfaceorg.springframework.boot.actuate.health.HealthIndicator
-