Uses of Class
org.apache.camel.model.FaultToleranceConfigurationDefinition
Packages that use FaultToleranceConfigurationDefinition
-
Uses of FaultToleranceConfigurationDefinition in org.apache.camel.model
Methods in org.apache.camel.model that return FaultToleranceConfigurationDefinitionModifier and TypeMethodDescriptionFaultToleranceConfigurationDefinition.bulkheadEnabled(boolean bulkheadEnabled) Whether bulkhead is enabled or not on the circuit breaker.FaultToleranceConfigurationDefinition.bulkheadExecutorService(String executorService) References to a custom thread pool to use when bulkhead is enabledFaultToleranceConfigurationDefinition.bulkheadMaxConcurrentCalls(int bulkheadMaxConcurrentCalls) Configures the max amount of concurrent calls the bulkhead will support.FaultToleranceConfigurationDefinition.bulkheadWaitingTaskQueue(int bulkheadWaitingTaskQueue) Configures the task queue size for holding waiting tasks to be processed by the bulkheadFaultToleranceConfigurationDefinition.circuitBreaker(String circuitBreaker) Refers to an existing io.github.resilience4j.circuitbreaker.CircuitBreaker instance to lookup and use from the registry.FaultToleranceConfigurationDefinition.delay(long delay) Control how long the circuit breaker stays open.Control how long the circuit breaker stays open.FaultToleranceConfigurationDefinition.failureRatio(int failureRatio) Configures the failure rate threshold in percentage.CircuitBreakerDefinition.faultToleranceConfiguration()Configures the circuit breaker to use MicroProfile Fault Tolerance.CircuitBreakerDefinition.getFaultToleranceConfiguration()Model.getFaultToleranceConfiguration(String id) Gets the MicroProfile Fault Tolerance configuration by the given name.FaultToleranceConfigurationDefinition.requestVolumeThreshold(int requestVolumeThreshold) Controls the size of the rolling window used when the circuit breaker is closedFaultToleranceConfigurationDefinition.successThreshold(int successThreshold) Controls the number of trial calls which are allowed when the circuit breaker is half-openFaultToleranceConfigurationDefinition.timeoutDuration(long timeoutDuration) Configures the thread execution timeout.FaultToleranceConfigurationDefinition.timeoutDuration(String timeoutDuration) Configures the thread execution timeout.FaultToleranceConfigurationDefinition.timeoutEnabled(boolean timeoutEnabled) Whether timeout is enabled or not on the circuit breaker.FaultToleranceConfigurationDefinition.timeoutPoolSize(int poolSize) Configures the pool size of the thread pool when timeout is enabled.FaultToleranceConfigurationDefinition.timeoutScheduledExecutorService(String executorService) References to a custom thread pool to use when timeout is enabledMethods in org.apache.camel.model with parameters of type FaultToleranceConfigurationDefinitionModifier and TypeMethodDescriptionvoidModel.addFaultToleranceConfiguration(String id, FaultToleranceConfigurationDefinition configuration) Adds the MicroProfile Fault Tolerance configurationCircuitBreakerDefinition.faultToleranceConfiguration(FaultToleranceConfigurationDefinition configuration) Configures the circuit breaker to use MicroProfile Fault Tolerance with the given configuration.voidCircuitBreakerDefinition.setFaultToleranceConfiguration(FaultToleranceConfigurationDefinition faultToleranceConfiguration) voidModel.setFaultToleranceConfiguration(FaultToleranceConfigurationDefinition configuration) Sets the default MicroProfile Fault Tolerance configurationMethod parameters in org.apache.camel.model with type arguments of type FaultToleranceConfigurationDefinitionModifier and TypeMethodDescriptionvoidModel.setFaultToleranceConfigurations(List<FaultToleranceConfigurationDefinition> configurations) Sets the MicroProfile Fault Tolerance configurations