Class RoutesHealthCheckRepository

  • All Implemented Interfaces:
    org.apache.camel.CamelContextAware, org.apache.camel.health.HealthCheckRepository, org.apache.camel.spi.HasId

    @JdkService("routes-health-check-repository")
    @DeferredContextBinding
    public class RoutesHealthCheckRepository
    extends Object
    implements org.apache.camel.CamelContextAware, org.apache.camel.health.HealthCheckRepository
    Repository for routes HealthChecks.
    • Constructor Detail

      • RoutesHealthCheckRepository

        public RoutesHealthCheckRepository()
    • Method Detail

      • setCamelContext

        public void setCamelContext​(org.apache.camel.CamelContext camelContext)
        Specified by:
        setCamelContext in interface org.apache.camel.CamelContextAware
      • getId

        public String getId()
        Specified by:
        getId in interface org.apache.camel.spi.HasId
      • getCamelContext

        public org.apache.camel.CamelContext getCamelContext()
        Specified by:
        getCamelContext in interface org.apache.camel.CamelContextAware
      • getConfigurations

        public Map<String,​org.apache.camel.health.HealthCheckConfiguration> getConfigurations()
        Specified by:
        getConfigurations in interface org.apache.camel.health.HealthCheckRepository
      • setConfigurations

        public void setConfigurations​(Map<String,​org.apache.camel.health.HealthCheckConfiguration> configurations)
        Specified by:
        setConfigurations in interface org.apache.camel.health.HealthCheckRepository
      • addConfiguration

        public void addConfiguration​(String id,
                                     org.apache.camel.health.HealthCheckConfiguration configuration)
        Specified by:
        addConfiguration in interface org.apache.camel.health.HealthCheckRepository
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface org.apache.camel.health.HealthCheckRepository
      • setEnabled

        public void setEnabled​(boolean enabled)
        Specified by:
        setEnabled in interface org.apache.camel.health.HealthCheckRepository
      • stream

        public Stream<org.apache.camel.health.HealthCheck> stream()
        Specified by:
        stream in interface org.apache.camel.health.HealthCheckRepository