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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new dfcce6f6f60 Fix typo in LoadBalancer description (#14123)
dfcce6f6f60 is described below

commit dfcce6f6f60fe7bf392539c525ffc5e2c6de3b4d
Author: Aurélien Pupier <apup...@redhat.com>
AuthorDate: Mon May 13 16:25:24 2024 +0200

    Fix typo in LoadBalancer description (#14123)
    
    Signed-off-by: Aurélien Pupier <apup...@redhat.com>
---
 .../org/apache/camel/catalog/models/failoverLoadBalancer.json         | 2 +-
 .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd       | 4 ++--
 .../org/apache/camel/model/loadbalancer/failoverLoadBalancer.json     | 2 +-
 .../camel/model/loadbalancer/FailoverLoadBalancerDefinition.java      | 2 +-
 .../org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java   | 2 +-
 .../camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json   | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/failoverLoadBalancer.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/failoverLoadBalancer.json
index ac052a46177..7121ecf7dfd 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/failoverLoadBalancer.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/failoverLoadBalancer.json
@@ -16,6 +16,6 @@
     "exception": { "index": 1, "kind": "element", "displayName": "Exception", 
"group": "common", "required": false, "type": "array", "javaType": 
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false, 
"secret": false, "description": "A list of class names for specific exceptions 
to monitor. If no exceptions are configured then all exceptions are monitored" 
},
     "roundRobin": { "index": 2, "kind": "attribute", "displayName": "Round 
Robin", "group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Whether or not the failover load balancer should operate in 
round robin mode or not. If not, then it will always start from the first 
endpoint when a new message is to be processed. In other words it restart from 
the top for every message. If roun [...]
     "sticky": { "index": 3, "kind": "attribute", "displayName": "Sticky", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Whether or not the failover load balancer should operate in 
sticky mode or not. If not, then it will always start from the first endpoint 
when a new message is to be processed. In other words it restart from the top 
for every message. If sticky is enabled, [...]
-    "maximumFailoverAttempts": { "index": 4, "kind": "attribute", 
"displayName": "Maximum Failover Attempts", "group": "common", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "-1", "description": "A 
value to indicate after X failover attempts we should exhaust (give up). Use -1 
to indicate never give up and continuously try to failover. Use 0 to never 
failover. And use e.g. 3 to failover at m [...]
+    "maximumFailoverAttempts": { "index": 4, "kind": "attribute", 
"displayName": "Maximum Failover Attempts", "group": "common", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "-1", "description": "A 
value to indicate after X failover attempts we should exhaust (give up). Use -1 
to indicate never give up and continuously try to failover. Use 0 to never 
failover. And use e.g. 3 to failover at m [...]
   }
 }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 31c2ec35868..61209fbf610 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -6995,8 +6995,8 @@ balancing (instead of using the next when starting).
             <xs:documentation xml:lang="en">
 <![CDATA[
 A value to indicate after X failover attempts we should exhaust (give up). Use 
-1 to indicate never give up and
-continuously try to failover. Use 0 to never failover. And use e.g. 3 to 
failover at most 3 times before giving up. his
-option can be used whether or not roundRobin is enabled or not. Default value: 
-1
+continuously try to failover. Use 0 to never failover. And use e.g. 3 to 
failover at most 3 times before giving up. This
+option can be used whether roundRobin is enabled or not. Default value: -1
 ]]>
             </xs:documentation>
           </xs:annotation>
diff --git 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/loadbalancer/failoverLoadBalancer.json
 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/loadbalancer/failoverLoadBalancer.json
index ac052a46177..7121ecf7dfd 100644
--- 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/loadbalancer/failoverLoadBalancer.json
+++ 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/loadbalancer/failoverLoadBalancer.json
@@ -16,6 +16,6 @@
     "exception": { "index": 1, "kind": "element", "displayName": "Exception", 
"group": "common", "required": false, "type": "array", "javaType": 
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false, 
"secret": false, "description": "A list of class names for specific exceptions 
to monitor. If no exceptions are configured then all exceptions are monitored" 
},
     "roundRobin": { "index": 2, "kind": "attribute", "displayName": "Round 
Robin", "group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Whether or not the failover load balancer should operate in 
round robin mode or not. If not, then it will always start from the first 
endpoint when a new message is to be processed. In other words it restart from 
the top for every message. If roun [...]
     "sticky": { "index": 3, "kind": "attribute", "displayName": "Sticky", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Whether or not the failover load balancer should operate in 
sticky mode or not. If not, then it will always start from the first endpoint 
when a new message is to be processed. In other words it restart from the top 
for every message. If sticky is enabled, [...]
-    "maximumFailoverAttempts": { "index": 4, "kind": "attribute", 
"displayName": "Maximum Failover Attempts", "group": "common", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "-1", "description": "A 
value to indicate after X failover attempts we should exhaust (give up). Use -1 
to indicate never give up and continuously try to failover. Use 0 to never 
failover. And use e.g. 3 to failover at m [...]
+    "maximumFailoverAttempts": { "index": 4, "kind": "attribute", 
"displayName": "Maximum Failover Attempts", "group": "common", "required": 
false, "type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "-1", "description": "A 
value to indicate after X failover attempts we should exhaust (give up). Use -1 
to indicate never give up and continuously try to failover. Use 0 to never 
failover. And use e.g. 3 to failover at m [...]
   }
 }
diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java
 
b/core/camel-core-model/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java
index b9a614f3874..0ab9a845c07 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/model/loadbalancer/FailoverLoadBalancerDefinition.java
@@ -115,7 +115,7 @@ public class FailoverLoadBalancerDefinition extends 
LoadBalancerDefinition {
     /**
      * A value to indicate after X failover attempts we should exhaust (give 
up). Use -1 to indicate never give up and
      * continuously try to failover. Use 0 to never failover. And use e.g. 3 
to failover at most 3 times before giving
-     * up. his option can be used whether or not roundRobin is enabled or not.
+     * up. This option can be used whether roundRobin is enabled or not.
      */
     public void setMaximumFailoverAttempts(String maximumFailoverAttempts) {
         this.maximumFailoverAttempts = maximumFailoverAttempts;
diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java
index f750c976e37..dfb4f1aa23a 100644
--- 
a/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl-deserializers/src/generated/java/org/apache/camel/dsl/yaml/deserializers/ModelDeserializers.java
@@ -5546,7 +5546,7 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
             properties = {
                     @YamlProperty(name = "exception", type = "array:string", 
description = "A list of class names for specific exceptions to monitor. If no 
exceptions are configured then all exceptions are monitored", displayName = 
"Exception"),
                     @YamlProperty(name = "id", type = "string", description = 
"The id of this node", displayName = "Id"),
-                    @YamlProperty(name = "maximumFailoverAttempts", type = 
"string", defaultValue = "-1", description = "A value to indicate after X 
failover attempts we should exhaust (give up). Use -1 to indicate never give up 
and continuously try to failover. Use 0 to never failover. And use e.g. 3 to 
failover at most 3 times before giving up. his option can be used whether or 
not roundRobin is enabled or not.", displayName = "Maximum Failover Attempts"),
+                    @YamlProperty(name = "maximumFailoverAttempts", type = 
"string", defaultValue = "-1", description = "A value to indicate after X 
failover attempts we should exhaust (give up). Use -1 to indicate never give up 
and continuously try to failover. Use 0 to never failover. And use e.g. 3 to 
failover at most 3 times before giving up. This option can be used whether 
roundRobin is enabled or not.", displayName = "Maximum Failover Attempts"),
                     @YamlProperty(name = "roundRobin", type = "string", 
description = "Whether or not the failover load balancer should operate in 
round robin mode or not. If not, then it will always start from the first 
endpoint when a new message is to be processed. In other words it restart from 
the top for every message. If round robin is enabled, then it keeps state and 
will continue with the next endpoint in a round robin fashion. You can also 
enable sticky mode together with round [...]
                     @YamlProperty(name = "sticky", type = "string", 
description = "Whether or not the failover load balancer should operate in 
sticky mode or not. If not, then it will always start from the first endpoint 
when a new message is to be processed. In other words it restart from the top 
for every message. If sticky is enabled, then it keeps state and will continue 
with the last known good endpoint. You can also enable sticky mode together 
with round robin, if so then it will p [...]
             }
diff --git 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
index c52e1f747e5..ebf4f2a1d55 100644
--- 
a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
+++ 
b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json
@@ -14013,7 +14013,7 @@
           "maximumFailoverAttempts" : {
             "type" : "string",
             "title" : "Maximum Failover Attempts",
-            "description" : "A value to indicate after X failover attempts we 
should exhaust (give up). Use -1 to indicate never give up and continuously try 
to failover. Use 0 to never failover. And use e.g. 3 to failover at most 3 
times before giving up. his option can be used whether or not roundRobin is 
enabled or not.",
+            "description" : "A value to indicate after X failover attempts we 
should exhaust (give up). Use -1 to indicate never give up and continuously try 
to failover. Use 0 to never failover. And use e.g. 3 to failover at most 3 
times before giving up. This option can be used whether roundRobin is enabled 
or not.",
             "default" : "-1"
           },
           "roundRobin" : {

Reply via email to