Class CallHealthCheck

java.lang.Object
com.bytedesk.call.config.CallHealthCheck
All Implemented Interfaces:
org.springframework.boot.actuate.health.HealthContributor, org.springframework.boot.actuate.health.HealthIndicator

@Component @ConditionalOnProperty(prefix="bytedesk.call.freeswitch", name="enabled", havingValue="true", matchIfMissing=false) public class CallHealthCheck extends Object implements org.springframework.boot.actuate.health.HealthIndicator
  • Field Details

    • freeswitchServer

      @Value("${bytedesk.call.freeswitch.server}") private String freeswitchServer
    • eslPort

      @Value("${bytedesk.call.freeswitch.esl-port}") private int eslPort
  • Constructor Details

    • CallHealthCheck

      public CallHealthCheck()
  • Method Details

    • health

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