Package org.apache.camel.main
Class HealthConfigurationProperties
- java.lang.Object
-
- org.apache.camel.main.HealthConfigurationProperties
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.camel.spi.BootstrapCloseable
@Configurer(bootstrap=true) public class HealthConfigurationProperties extends Object implements org.apache.camel.spi.BootstrapCloseable
Global configuration for Health Check
-
-
Constructor Summary
Constructors Constructor Description HealthConfigurationProperties(MainConfigurationProperties parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthConfigurationProperties
addConfig(String id, HealthCheckConfigurationProperties config)
AdditionalHealthConfigurationProperties
for fine grained configuration of health checks.void
close()
MainConfigurationProperties
end()
Map<String,HealthCheckConfigurationProperties>
getConfig()
Boolean
getContextEnabled()
Boolean
getEnabled()
Boolean
getRegistryEnabled()
Boolean
getRoutesEnabled()
void
setConfig(Map<String,HealthCheckConfigurationProperties> config)
Set additionalHealthConfigurationProperties
for fine grained configuration of health checks.void
setContextEnabled(Boolean contextEnabled)
Whether context health check is enabledvoid
setEnabled(Boolean enabled)
Whether health check is enabled globallyvoid
setRegistryEnabled(Boolean registryEnabled)
Whether registry health check is enabledvoid
setRoutesEnabled(Boolean routesEnabled)
Whether routes health check is enabledHealthConfigurationProperties
withContextEnabled(boolean contextEnabled)
Whether context health check is enabledHealthConfigurationProperties
withEnabled(boolean enabled)
Whether health check is enabled globallyHealthConfigurationProperties
withRegistryEnabled(boolean registryEnabled)
Whether registry health check is enabledHealthConfigurationProperties
withRoutesEnabled(boolean routesEnabled)
Whether routes health check is enabled
-
-
-
Constructor Detail
-
HealthConfigurationProperties
public HealthConfigurationProperties(MainConfigurationProperties parent)
-
-
Method Detail
-
end
public MainConfigurationProperties end()
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getEnabled
public Boolean getEnabled()
-
setEnabled
public void setEnabled(Boolean enabled)
Whether health check is enabled globally
-
getContextEnabled
public Boolean getContextEnabled()
-
setContextEnabled
public void setContextEnabled(Boolean contextEnabled)
Whether context health check is enabled
-
getRoutesEnabled
public Boolean getRoutesEnabled()
-
setRoutesEnabled
public void setRoutesEnabled(Boolean routesEnabled)
Whether routes health check is enabled
-
getRegistryEnabled
public Boolean getRegistryEnabled()
-
setRegistryEnabled
public void setRegistryEnabled(Boolean registryEnabled)
Whether registry health check is enabled
-
getConfig
public Map<String,HealthCheckConfigurationProperties> getConfig()
-
setConfig
public void setConfig(Map<String,HealthCheckConfigurationProperties> config)
Set additionalHealthConfigurationProperties
for fine grained configuration of health checks.
-
withEnabled
public HealthConfigurationProperties withEnabled(boolean enabled)
Whether health check is enabled globally
-
withContextEnabled
public HealthConfigurationProperties withContextEnabled(boolean contextEnabled)
Whether context health check is enabled
-
withRoutesEnabled
public HealthConfigurationProperties withRoutesEnabled(boolean routesEnabled)
Whether routes health check is enabled
-
withRegistryEnabled
public HealthConfigurationProperties withRegistryEnabled(boolean registryEnabled)
Whether registry health check is enabled
-
addConfig
public HealthConfigurationProperties addConfig(String id, HealthCheckConfigurationProperties config)
AdditionalHealthConfigurationProperties
for fine grained configuration of health checks.
-
-