public final class ContextHealthCheck extends AbstractHealthCheck implements org.apache.camel.CamelContextAware
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() |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
addMetaData, call, call, equals, getConfiguration, getGroup, getId, getMetaData, hashCode, setConfiguration
public org.apache.camel.CamelContext getCamelContext()
getCamelContext
in interface org.apache.camel.CamelContextAware
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext
in interface org.apache.camel.CamelContextAware
protected void doCall(org.apache.camel.health.HealthCheckResultBuilder builder, Map<String,Object> options)
AbstractHealthCheck
doCall
in class AbstractHealthCheck
HealthCheck#call(Map)}
Apache Camel