@JdkService(value="routes-health-check-repository") @DeferredContextBinding public class RoutesHealthCheckRepository extends Object implements org.apache.camel.CamelContextAware, org.apache.camel.health.HealthCheckRepository
HealthChecks.| Constructor and Description |
|---|
RoutesHealthCheckRepository() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguration(String id,
org.apache.camel.health.HealthCheckConfiguration configuration) |
org.apache.camel.CamelContext |
getCamelContext() |
Map<String,org.apache.camel.health.HealthCheckConfiguration> |
getConfigurations() |
String |
getId() |
boolean |
isEnabled() |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setConfigurations(Map<String,org.apache.camel.health.HealthCheckConfiguration> configurations) |
void |
setEnabled(boolean enabled) |
Stream<org.apache.camel.health.HealthCheck> |
stream() |
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic String getId()
getId in interface org.apache.camel.spi.HasIdpublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic Map<String,org.apache.camel.health.HealthCheckConfiguration> getConfigurations()
getConfigurations in interface org.apache.camel.health.HealthCheckRepositorypublic void setConfigurations(Map<String,org.apache.camel.health.HealthCheckConfiguration> configurations)
setConfigurations in interface org.apache.camel.health.HealthCheckRepositorypublic void addConfiguration(String id, org.apache.camel.health.HealthCheckConfiguration configuration)
addConfiguration in interface org.apache.camel.health.HealthCheckRepositorypublic boolean isEnabled()
isEnabled in interface org.apache.camel.health.HealthCheckRepositorypublic void setEnabled(boolean enabled)
setEnabled in interface org.apache.camel.health.HealthCheckRepositorypublic Stream<org.apache.camel.health.HealthCheck> stream()
stream in interface org.apache.camel.health.HealthCheckRepositoryApache Camel