Class 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 java.lang.Object
    implements org.springframework.boot.actuate.health.HealthIndicator
    • Method Summary

      Modifier and Type Method Description
      org.springframework.boot.actuate.health.Health health()  
      void on​(de.otto.synapse.info.MessageReceiverNotification messageEndpointNotification)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.springframework.boot.actuate.health.HealthIndicator

        getHealth
    • Constructor Detail

      • MessageReceiverEndpointHealthIndicator

        public MessageReceiverEndpointHealthIndicator()
    • Method Detail

      • on

        @EventListener
        public void on​(de.otto.synapse.info.MessageReceiverNotification messageEndpointNotification)
      • health

        public org.springframework.boot.actuate.health.Health health()
        Specified by:
        health in interface org.springframework.boot.actuate.health.HealthIndicator