Package com.bytedesk.call.config
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
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 interfaceorg.springframework.boot.actuate.health.HealthIndicator
-