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-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new b9404f4a750 Regen
b9404f4a750 is described below
commit b9404f4a750f372935ebf7c8e9e06e222df11fb1
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Jun 29 10:19:51 2025 +0200
Regen
---
.../org/apache/camel/springboot/catalog/components/master.json | 2 +-
components-starter/camel-master-starter/src/main/docs/master.json | 2 +-
.../component/master/springboot/MasterComponentConfiguration.java | 6 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/master.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/master.json
index d6283bab1ff..658ec9fee30 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/master.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/master.json
@@ -27,7 +27,7 @@
"bridgeErrorHandler": { "index": 0, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
"autowiredEnabled": { "index": 1, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
"backOffDelay": { "index": 2, "kind": "property", "displayName": "Back Off
Delay", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "description": "When the master becomes leader then backoff is
in use to repeat starting the consumer until the consumer is successfully
started or max attempts reached. This option is the delay in millis between
start attempts." },
- "backOffMaxAttempts": { "index": 3, "kind": "property", "displayName":
"Back Off Max Attempts", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "description": "When the master becomes leader then
backoff is in use to repeat starting the consumer until the consumer is
successfully started or max attempts reached. This option is the maximum number
of attempts to try." },
+ "backOffMaxAttempts": { "index": 3, "kind": "property", "displayName":
"Back Off Max Attempts", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "description": "When the master becomes leader then
backoff is in use to repeat starting the consumer until the consumer is
successfully started or max attempts reached. This option is the maximum number
of attempts to try." },
"service": { "index": 4, "kind": "property", "displayName": "Service",
"group": "advanced", "label": "advanced", "required": false, "type": "object",
"javaType": "org.apache.camel.cluster.CamelClusterService", "deprecated":
false, "autowired": false, "secret": false, "description": "Inject the service
to use." },
"serviceSelector": { "index": 5, "kind": "property", "displayName":
"Service Selector", "group": "advanced", "label": "advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.cluster.CamelClusterService.Selector", "deprecated": false,
"autowired": false, "secret": false, "description": "Inject the service
selector used to lookup the CamelClusterService to use." }
},
diff --git a/components-starter/camel-master-starter/src/main/docs/master.json
b/components-starter/camel-master-starter/src/main/docs/master.json
index 3d31d4bf139..c36fc7a20ad 100644
--- a/components-starter/camel-master-starter/src/main/docs/master.json
+++ b/components-starter/camel-master-starter/src/main/docs/master.json
@@ -28,7 +28,7 @@
},
{
"name": "camel.component.master.back-off-max-attempts",
- "type": "java.lang.Long",
+ "type": "java.lang.Integer",
"description": "When the master becomes leader then backoff is in use to
repeat starting the consumer until the consumer is successfully started or max
attempts reached. This option is the maximum number of attempts to try.",
"sourceType":
"org.apache.camel.component.master.springboot.MasterComponentConfiguration"
},
diff --git
a/components-starter/camel-master-starter/src/main/java/org/apache/camel/component/master/springboot/MasterComponentConfiguration.java
b/components-starter/camel-master-starter/src/main/java/org/apache/camel/component/master/springboot/MasterComponentConfiguration.java
index 2e8fe3ff540..cf2b086318c 100644
---
a/components-starter/camel-master-starter/src/main/java/org/apache/camel/component/master/springboot/MasterComponentConfiguration.java
+++
b/components-starter/camel-master-starter/src/main/java/org/apache/camel/component/master/springboot/MasterComponentConfiguration.java
@@ -71,7 +71,7 @@ public class MasterComponentConfiguration
* the consumer until the consumer is successfully started or max attempts
* reached. This option is the maximum number of attempts to try.
*/
- private Long backOffMaxAttempts;
+ private Integer backOffMaxAttempts;
/**
* Inject the service to use. The option is a
* org.apache.camel.cluster.CamelClusterService type.
@@ -108,11 +108,11 @@ public class MasterComponentConfiguration
this.backOffDelay = backOffDelay;
}
- public Long getBackOffMaxAttempts() {
+ public Integer getBackOffMaxAttempts() {
return backOffMaxAttempts;
}
- public void setBackOffMaxAttempts(Long backOffMaxAttempts) {
+ public void setBackOffMaxAttempts(Integer backOffMaxAttempts) {
this.backOffMaxAttempts = backOffMaxAttempts;
}