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.HealthCheckpublic org.apache.camel.health.HealthCheck.Result call(Map<String,Object> options)
call in interface org.apache.camel.health.HealthCheckpublic String getGroup()
getGroup in interface org.apache.camel.spi.HasGrouppublic String getId()
getId in interface org.apache.camel.spi.HasIdApache Camel