Uses of Class
org.apache.camel.model.Resilience4jConfigurationDefinition
Packages that use Resilience4jConfigurationDefinition
-
Uses of Resilience4jConfigurationDefinition in org.apache.camel.model
Methods in org.apache.camel.model that return Resilience4jConfigurationDefinitionModifier and TypeMethodDescriptionResilience4jConfigurationDefinition.automaticTransitionFromOpenToHalfOpenEnabled(boolean automaticTransitionFromOpenToHalfOpenEnabled) Enables automatic transition from OPEN to HALF_OPEN state once the waitDurationInOpenState has passed.Resilience4jConfigurationDefinition.bulkheadEnabled(boolean bulkheadEnabled) Whether bulkhead is enabled or not on the circuit breaker.Resilience4jConfigurationDefinition.bulkheadMaxConcurrentCalls(int bulkheadMaxConcurrentCalls) Configures the max amount of concurrent calls the bulkhead will support.Resilience4jConfigurationDefinition.bulkheadMaxWaitDuration(int bulkheadMaxWaitDuration) Configures a maximum amount of time which the calling thread will wait to enter the bulkhead.Resilience4jConfigurationDefinition.circuitBreaker(String circuitBreaker) Refers to an existing io.github.resilience4j.circuitbreaker.CircuitBreaker instance to lookup and use from the registry.Refers to an existing io.github.resilience4j.circuitbreaker.CircuitBreakerConfig instance to lookup and use from the registry.Resilience4jConfigurationDefinition.failureRateThreshold(float failureRateThreshold) Configures the failure rate threshold in percentage.CircuitBreakerDefinition.getResilience4jConfiguration()Model.getResilience4jConfiguration(String id) Gets the Resilience4j configuration by the given name.Resilience4jConfigurationDefinition.minimumNumberOfCalls(int minimumNumberOfCalls) Configures configures the minimum number of calls which are required (per sliding window period) before the CircuitBreaker can calculate the error rate.Resilience4jConfigurationDefinition.permittedNumberOfCallsInHalfOpenState(int permittedNumberOfCallsInHalfOpenState) Configures the number of permitted calls when the CircuitBreaker is half open.CircuitBreakerDefinition.resilience4jConfiguration()Configures the circuit breaker to use Resilience4j.Resilience4jConfigurationDefinition.slidingWindowSize(int slidingWindowSize) Configures the size of the sliding window which is used to record the outcome of calls when the CircuitBreaker is closed.Resilience4jConfigurationDefinition.slidingWindowType(String slidingWindowType) Configures the type of the sliding window which is used to record the outcome of calls when the CircuitBreaker is closed.Resilience4jConfigurationDefinition.slowCallDurationThreshold(int slowCallDurationThreshold) Configures the duration threshold (seconds) above which calls are considered as slow and increase the slow calls percentage.Resilience4jConfigurationDefinition.slowCallRateThreshold(float slowCallRateThreshold) Configures a threshold in percentage.Resilience4jConfigurationDefinition.throwExceptionWhenHalfOpenOrOpenState(boolean throwExceptionWhenHalfOpenOrOpenState) Whether to throw io.github.resilience4j.circuitbreaker.CallNotPermittedException when the call is rejected due circuit breaker is half open or open.Resilience4jConfigurationDefinition.timeoutCancelRunningFuture(boolean timeoutCancelRunningFuture) Configures whether cancel is called on the running future.Resilience4jConfigurationDefinition.timeoutDuration(int timeoutDuration) Configures the thread execution timeout (millis).Resilience4jConfigurationDefinition.timeoutEnabled(boolean timeoutEnabled) Whether timeout is enabled or not on the circuit breaker.Resilience4jConfigurationDefinition.timeoutExecutorService(String executorService) References to a custom thread pool to use when timeout is enabled (usesForkJoinPool.commonPool()by default)Resilience4jConfigurationDefinition.waitDurationInOpenState(int waitDurationInOpenState) Configures the wait duration (in seconds) which specifies how long the CircuitBreaker should stay open, before it switches to half open.Resilience4jConfigurationDefinition.writableStackTraceEnabled(boolean writableStackTraceEnabled) Enables writable stack traces.Methods in org.apache.camel.model with parameters of type Resilience4jConfigurationDefinitionModifier and TypeMethodDescriptionvoidModel.addResilience4jConfiguration(String id, Resilience4jConfigurationDefinition configuration) Adds the Resilience4j configurationCircuitBreakerDefinition.resilience4jConfiguration(Resilience4jConfigurationDefinition configuration) Configures the circuit breaker to use Resilience4j with the given configuration.voidCircuitBreakerDefinition.setResilience4jConfiguration(Resilience4jConfigurationDefinition resilience4jConfiguration) voidModel.setResilience4jConfiguration(Resilience4jConfigurationDefinition configuration) Sets the default Resilience4j configurationMethod parameters in org.apache.camel.model with type arguments of type Resilience4jConfigurationDefinitionModifier and TypeMethodDescriptionvoidModel.setResilience4jConfigurations(List<Resilience4jConfigurationDefinition> configurations) Sets the Resilience4j configurations