public class ScheduledPollConsumerHealthCheck extends Object implements org.apache.camel.health.HealthCheck
HealthCheck
that uses the last polling state from ScheduledPollConsumer
when reporting the health.Constructor and Description |
---|
ScheduledPollConsumerHealthCheck(ScheduledPollConsumer consumer,
String id) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.health.HealthCheck.Result |
call(Map<String,Object> options) |
org.apache.camel.health.HealthCheckConfiguration |
getConfiguration() |
String |
getGroup() |
String |
getId() |
public ScheduledPollConsumerHealthCheck(ScheduledPollConsumer consumer, String id)
public org.apache.camel.health.HealthCheckConfiguration getConfiguration()
getConfiguration
in interface org.apache.camel.health.HealthCheck
public org.apache.camel.health.HealthCheck.Result call(Map<String,Object> options)
call
in interface org.apache.camel.health.HealthCheck
public String getGroup()
getGroup
in interface org.apache.camel.spi.HasGroup
public String getId()
getId
in interface org.apache.camel.spi.HasId
Apache Camel