Uses of Class
org.apache.camel.main.FaultToleranceConfigurationProperties
-
Uses of FaultToleranceConfigurationProperties in org.apache.camel.main
Methods in org.apache.camel.main that return FaultToleranceConfigurationPropertiesModifier and TypeMethodDescriptionMainConfigurationProperties.faultTolerance()To configure Circuit Breaker EIP with MicroProfile Fault ToleranceFaultToleranceConfigurationProperties.withBulkheadEnabled(Boolean bulkheadEnabled) Whether bulkhead is enabled or not on the circuit breaker.FaultToleranceConfigurationProperties.withBulkheadMaxConcurrentCalls(Integer bulkheadMaxConcurrentCalls) Configures the max amount of concurrent calls the bulkhead will support.FaultToleranceConfigurationProperties.withBulkheadWaitingTaskQueue(Integer bulkheadWaitingTaskQueue) Configures the task queue size for holding waiting tasks to be processed by the bulkhead.Control how long the circuit breaker stays open.FaultToleranceConfigurationProperties.withFailureRatio(Integer failureRatio) Configures the failure rate threshold in percentage.FaultToleranceConfigurationProperties.withRequestVolumeThreshold(Integer requestVolumeThreshold) Controls the size of the rolling window used when the circuit breaker is closed Default value is 20.FaultToleranceConfigurationProperties.withSuccessThreshold(Integer successThreshold) Controls the number of trial calls which are allowed when the circuit breaker is half-open Default value is 1.FaultToleranceConfigurationProperties.withThreadOffloadExecutorServiceRef(String threadOffloadExecutorServiceRef) References a custom thread pool to use when offloading a guarded action to another thread.FaultToleranceConfigurationProperties.withTimeoutDuration(Long timeoutDuration) Configures the thread execution timeout.FaultToleranceConfigurationProperties.withTimeoutEnabled(Boolean timeoutEnabled) Whether timeout is enabled or not on the circuit breaker.FaultToleranceConfigurationProperties.withTimeoutPoolSize(Integer timeoutPoolSize) Configures the pool size of the thread pool when timeout is enabled.FaultToleranceConfigurationProperties.withTypedGuard(String typedGuard) Refers to an existing io.smallrye.faulttolerance.api.TypedGuard instance to lookup and use from the registry.