@JdkService(value="context-health-check") public final class ContextHealthCheck extends AbstractHealthCheck implements org.apache.camel.CamelContextAware
HealthCheck that checks the status of the CamelContext whether
its started or not.CHECK_ENABLED, CHECK_GROUP, CHECK_ID, FAILURE_COUNT, INVOCATION_ATTEMPT_TIME, INVOCATION_COUNT, INVOCATION_TIME| Constructor and Description |
|---|
ContextHealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCall(org.apache.camel.health.HealthCheckResultBuilder builder,
Map<String,Object> options)
Invoke the health check.
|
org.apache.camel.CamelContext |
getCamelContext() |
boolean |
isLiveness() |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
addMetaData, call, call, equals, getConfiguration, getGroup, getId, getMetaData, hashCode, setConfigurationpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic boolean isLiveness()
isLiveness in interface org.apache.camel.health.HealthCheckprotected void doCall(org.apache.camel.health.HealthCheckResultBuilder builder,
Map<String,Object> options)
AbstractHealthCheckdoCall in class AbstractHealthCheckHealthCheck#call(Map)}Apache Camel