| Modifier and Type | Method and Description |
|---|---|
FaultToleranceConfigurationProperties |
MainConfigurationProperties.faultTolerance()
To configure Circuit Breaker EIP with MicroProfile Fault Tolerance
|
FaultToleranceConfigurationProperties |
FaultToleranceConfigurationProperties.withBulkheadEnabled(Boolean bulkheadEnabled)
Whether bulkhead is enabled or not on the circuit breaker.
|
FaultToleranceConfigurationProperties |
FaultToleranceConfigurationProperties.withBulkheadExecutorServiceRef(String bulkheadExecutorServiceRef)
References to a custom thread pool to use when bulkhead is enabled.
|
FaultToleranceConfigurationProperties |
FaultToleranceConfigurationProperties.withBulkheadMaxConcurrentCalls(Integer bulkheadMaxConcurrentCalls)
Configures the max amount of concurrent calls the bulkhead will support.
|
FaultToleranceConfigurationProperties |
FaultToleranceConfigurationProperties.withBulkheadWaitingTaskQueue(Integer bulkheadWaitingTaskQueue)
Configures the task queue size for holding waiting tasks to be processed by the bulkhead.
|
FaultToleranceConfigurationProperties |
FaultToleranceConfigurationProperties.withCircuitBreakerRef(String circuitBreakerRef)
Refers to an existing io.smallrye.faulttolerance.core.circuit.breaker.CircuitBreaker instance to lookup and use
from the registry.
|
FaultToleranceConfigurationProperties |
FaultToleranceConfigurationProperties.withDelay(Long delay)
Control how long the circuit breaker stays open.
|
FaultToleranceConfigurationProperties |
FaultToleranceConfigurationProperties.withFailureRatio(Integer failureRatio)
Configures the failure rate threshold in percentage.
|
FaultToleranceConfigurationProperties |
FaultToleranceConfigurationProperties.withRequestVolumeThreshold(Integer requestVolumeThreshold)
Controls the size of the rolling window used when the circuit breaker is closed Default value is 20.
|
FaultToleranceConfigurationProperties |
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 |
FaultToleranceConfigurationProperties.withTimeoutDuration(Long timeoutDuration)
Configures the thread execution timeout.
|
FaultToleranceConfigurationProperties |
FaultToleranceConfigurationProperties.withTimeoutEnabled(Boolean timeoutEnabled)
Whether timeout is enabled or not on the circuit breaker.
|
FaultToleranceConfigurationProperties |
FaultToleranceConfigurationProperties.withTimeoutPoolSize(Integer timeoutPoolSize)
Configures the pool size of the thread pool when timeout is enabled.
|
FaultToleranceConfigurationProperties |
FaultToleranceConfigurationProperties.withTimeoutScheduledExecutorServiceRef(String timeoutScheduledExecutorServiceRef)
References to a custom thread pool to use when timeout is enabled
|
Apache Camel