@HealthCheck(value="context-check") public final class ContextHealthCheck extends AbstractHealthCheck
HealthCheck that checks the status of the CamelContext whether its started or
not.| 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.CamelContextAwaregetCamelContext in class AbstractHealthCheckpublic void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwaresetCamelContext in class AbstractHealthCheckpublic boolean isLiveness()
protected void doCall(org.apache.camel.health.HealthCheckResultBuilder builder,
Map<String,Object> options)
AbstractHealthCheckdoCall in class AbstractHealthCheckHealthCheck#call(Map)}Apache Camel