This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-spring-boot-4.10.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit f3d1b44f531c4497694f58178bb65797cbb0e31a
Author: Claus Ibsen <[email protected]>
AuthorDate: Sat Jun 28 11:44:38 2025 +0200

    Regen
---
 components-starter/camel-core-starter/src/main/docs/core.json       | 2 +-
 .../model/springboot/Resilience4jConfigurationDefinitionCommon.java | 6 +++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/components-starter/camel-core-starter/src/main/docs/core.json 
b/components-starter/camel-core-starter/src/main/docs/core.json
index 69fa03f7e5f..714a1c75b06 100644
--- a/components-starter/camel-core-starter/src/main/docs/core.json
+++ b/components-starter/camel-core-starter/src/main/docs/core.json
@@ -656,7 +656,7 @@
     {
       "name": 
"camel.resilience4j.throw-exception-when-half-open-or-open-state",
       "type": "java.lang.Boolean",
-      "description": "Whether to throw 
io.github.resilience4j.circuitbreaker.CallNotPermittedException when the call 
is rejected due circuit breaker is half open or open.",
+      "description": "Whether to throw 
io.github.resilience4j.circuitbreaker.CallNotPermittedException when the call 
is rejected due circuit breaker is half open (and was not attempted but 
rejected immediately) or open (always rejected). This option is only in use 
when there is NOT a fallback configured on the circuit breaker. When there is a 
fallback then the fallback is always executed and CallNotPermittedException is 
not thrown.",
       "sourceType": 
"org.apache.camel.model.springboot.Resilience4jConfigurationDefinitionProperties",
       "defaultValue": false
     },
diff --git 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/springboot/Resilience4jConfigurationDefinitionCommon.java
 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/springboot/Resilience4jConfigurationDefinitionCommon.java
index eebbc6f5a80..c7a3582d3db 100644
--- 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/springboot/Resilience4jConfigurationDefinitionCommon.java
+++ 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/model/springboot/Resilience4jConfigurationDefinitionCommon.java
@@ -54,7 +54,11 @@ public class Resilience4jConfigurationDefinitionCommon {
     /**
      * Whether to throw
      * io.github.resilience4j.circuitbreaker.CallNotPermittedException when the
-     * call is rejected due circuit breaker is half open or open.
+     * call is rejected due circuit breaker is half open (and was not attempted
+     * but rejected immediately) or open (always rejected). This option is only
+     * in use when there is NOT a fallback configured on the circuit breaker.
+     * When there is a fallback then the fallback is always executed and
+     * CallNotPermittedException is not thrown.
      */
     private Boolean throwExceptionWhenHalfOpenOrOpenState = false;
     /**

Reply via email to