This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.14.x by this push:
new 669ead0f668 CAMEL-22384: camel-catalog - The route.json for
autoStartup should be boolean type
669ead0f668 is described below
commit 669ead0f6686dfc7b98a29db5904b133f9df8591
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Aug 28 07:00:26 2025 +0200
CAMEL-22384: camel-catalog - The route.json for autoStartup should be
boolean type
---
.../resources/org/apache/camel/catalog/models/route.json | 12 ++++++------
.../resources/META-INF/org/apache/camel/model/route.json | 12 ++++++------
.../apache/camel/maven/packaging/SchemaGeneratorMojo.java | 12 ++++++------
3 files changed, 18 insertions(+), 18 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json
index 36ee3a462ed..0df49d74815 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/route.json
@@ -17,13 +17,13 @@
"group": { "index": 2, "kind": "attribute", "displayName": "Group",
"group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The group name for this route. Multiple routes can belong to
the same group." },
"nodePrefixId": { "index": 3, "kind": "attribute", "displayName": "Node
Prefix Id", "group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Sets a prefix to use for all node ids (not route id)." },
"routeConfigurationId": { "index": 4, "kind": "attribute", "displayName":
"Route Configuration Id", "group": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The route configuration id or pattern
this route should use for configuration. Multiple id\/pattern can be separated
by comma." },
- "autoStartup": { "index": 5, "kind": "attribute", "displayName": "Auto
Startup", "group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "true", "description": "Whether to auto start this route" },
+ "autoStartup": { "index": 5, "kind": "attribute", "displayName": "Auto
Startup", "group": "common", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "Whether to auto start this route" },
"startupOrder": { "index": 6, "kind": "attribute", "displayName": "Startup
Order", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "description": "To configure the ordering of the routes
being started" },
- "streamCache": { "index": 7, "kind": "attribute", "displayName": "Stream
Cache", "group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Whether stream caching is enabled on this route." },
- "trace": { "index": 8, "kind": "attribute", "displayName": "Trace",
"group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Whether tracing is enabled on this route." },
- "messageHistory": { "index": 9, "kind": "attribute", "displayName":
"Message History", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Whether message history is enabled on this
route." },
- "logMask": { "index": 10, "kind": "attribute", "displayName": "Log Mask",
"group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "false", "description": "Whether security mask for Logging is
enabled on this route." },
- "delayer": { "index": 11, "kind": "attribute", "displayName": "Delayer",
"group": "common", "required": false, "type": "duration", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "advanced", "description": "Whether to slow down processing
messages by a given delay in msec." },
+ "streamCache": { "index": 7, "kind": "attribute", "displayName": "Stream
Cache", "group": "common", "required": false, "type": "object", "javaType":
"java.lang.Booleam", "deprecated": false, "autowired": false, "secret": false,
"description": "Whether stream caching is enabled on this route." },
+ "trace": { "index": 8, "kind": "attribute", "displayName": "Trace",
"group": "common", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"description": "Whether tracing is enabled on this route." },
+ "messageHistory": { "index": 9, "kind": "attribute", "displayName":
"Message History", "group": "common", "required": false, "type": "boolean",
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false,
"secret": false, "description": "Whether message history is enabled on this
route." },
+ "logMask": { "index": 10, "kind": "attribute", "displayName": "Log Mask",
"group": "common", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether security mask for Logging is
enabled on this route." },
+ "delayer": { "index": 11, "kind": "attribute", "displayName": "Delayer",
"group": "common", "required": false, "type": "duration", "javaType":
"java.lang.Long", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "advanced", "description": "Whether to slow down processing
messages by a given delay in msec." },
"errorHandlerRef": { "index": 12, "kind": "attribute", "displayName":
"Error Handler", "group": "error", "label": "error", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Sets the bean ref name of the error
handler builder to use on this route" },
"routePolicyRef": { "index": 13, "kind": "attribute", "displayName":
"Route Policy", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Reference to custom
org.apache.camel.spi.RoutePolicy to use by the route. Multiple policies can be
configured by separating values using comma." },
"shutdownRoute": { "index": 14, "kind": "attribute", "displayName":
"Shutdown Route", "group": "advanced", "label": "advanced", "required": false,
"type": "enum", "javaType": "org.apache.camel.ShutdownRoute", "enum": [
"Default", "Defer" ], "deprecated": false, "autowired": false, "secret": false,
"description": "To control how to shutdown the route." },
diff --git
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json
index 36ee3a462ed..0df49d74815 100644
---
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json
+++
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/route.json
@@ -17,13 +17,13 @@
"group": { "index": 2, "kind": "attribute", "displayName": "Group",
"group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The group name for this route. Multiple routes can belong to
the same group." },
"nodePrefixId": { "index": 3, "kind": "attribute", "displayName": "Node
Prefix Id", "group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Sets a prefix to use for all node ids (not route id)." },
"routeConfigurationId": { "index": 4, "kind": "attribute", "displayName":
"Route Configuration Id", "group": "common", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "The route configuration id or pattern
this route should use for configuration. Multiple id\/pattern can be separated
by comma." },
- "autoStartup": { "index": 5, "kind": "attribute", "displayName": "Auto
Startup", "group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "true", "description": "Whether to auto start this route" },
+ "autoStartup": { "index": 5, "kind": "attribute", "displayName": "Auto
Startup", "group": "common", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "description": "Whether to auto start this route" },
"startupOrder": { "index": 6, "kind": "attribute", "displayName": "Startup
Order", "group": "advanced", "label": "advanced", "required": false, "type":
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired":
false, "secret": false, "description": "To configure the ordering of the routes
being started" },
- "streamCache": { "index": 7, "kind": "attribute", "displayName": "Stream
Cache", "group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Whether stream caching is enabled on this route." },
- "trace": { "index": 8, "kind": "attribute", "displayName": "Trace",
"group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Whether tracing is enabled on this route." },
- "messageHistory": { "index": 9, "kind": "attribute", "displayName":
"Message History", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Whether message history is enabled on this
route." },
- "logMask": { "index": 10, "kind": "attribute", "displayName": "Log Mask",
"group": "common", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "false", "description": "Whether security mask for Logging is
enabled on this route." },
- "delayer": { "index": 11, "kind": "attribute", "displayName": "Delayer",
"group": "common", "required": false, "type": "duration", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "advanced", "description": "Whether to slow down processing
messages by a given delay in msec." },
+ "streamCache": { "index": 7, "kind": "attribute", "displayName": "Stream
Cache", "group": "common", "required": false, "type": "object", "javaType":
"java.lang.Booleam", "deprecated": false, "autowired": false, "secret": false,
"description": "Whether stream caching is enabled on this route." },
+ "trace": { "index": 8, "kind": "attribute", "displayName": "Trace",
"group": "common", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"description": "Whether tracing is enabled on this route." },
+ "messageHistory": { "index": 9, "kind": "attribute", "displayName":
"Message History", "group": "common", "required": false, "type": "boolean",
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false,
"secret": false, "description": "Whether message history is enabled on this
route." },
+ "logMask": { "index": 10, "kind": "attribute", "displayName": "Log Mask",
"group": "common", "required": false, "type": "boolean", "javaType":
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Whether security mask for Logging is
enabled on this route." },
+ "delayer": { "index": 11, "kind": "attribute", "displayName": "Delayer",
"group": "common", "required": false, "type": "duration", "javaType":
"java.lang.Long", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "advanced", "description": "Whether to slow down processing
messages by a given delay in msec." },
"errorHandlerRef": { "index": 12, "kind": "attribute", "displayName":
"Error Handler", "group": "error", "label": "error", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "Sets the bean ref name of the error
handler builder to use on this route" },
"routePolicyRef": { "index": 13, "kind": "attribute", "displayName":
"Route Policy", "group": "common", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Reference to custom
org.apache.camel.spi.RoutePolicy to use by the route. Multiple policies can be
configured by separating values using comma." },
"shutdownRoute": { "index": 14, "kind": "attribute", "displayName":
"Shutdown Route", "group": "advanced", "label": "advanced", "required": false,
"type": "enum", "javaType": "org.apache.camel.ShutdownRoute", "enum": [
"Default", "Defer" ], "deprecated": false, "autowired": false, "secret": false,
"description": "To control how to shutdown the route." },
diff --git
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
index 157592f332a..2b0df424626 100644
---
a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
+++
b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java
@@ -798,7 +798,7 @@ public class SchemaGeneratorMojo extends
AbstractGeneratorMojo {
// autoStartup
docComment = findJavaDoc(null, "autoStartup", null, classElement,
true);
- ep = createOption("autoStartup", "Auto Startup", "attribute",
"java.lang.String", false, "true", "", docComment, false,
+ ep = createOption("autoStartup", "Auto Startup", "attribute",
"java.lang.Boolean", false, "true", "", docComment, false,
null, false, null, null, false, false);
eipOptions.add(ep);
@@ -812,33 +812,33 @@ public class SchemaGeneratorMojo extends
AbstractGeneratorMojo {
// stream cache
docComment = findJavaDoc(null, "streamCache", null, classElement,
true);
- ep = createOption("streamCache", "Stream Cache", "attribute",
"java.lang.String", false, "", "", docComment, false,
+ ep = createOption("streamCache", "Stream Cache", "attribute",
"java.lang.Booleam", false, "", "", docComment, false,
null,
false, null, null, false, false);
eipOptions.add(ep);
// trace
docComment = findJavaDoc(null, "trace", null, classElement, true);
- ep = createOption("trace", "Trace", "attribute", "java.lang.String",
false, "", "", docComment, false, null, false,
+ ep = createOption("trace", "Trace", "attribute", "java.lang.Boolean",
false, "", "", docComment, false, null, false,
null,
null, false, false);
eipOptions.add(ep);
// message history
docComment = findJavaDoc(null, "messageHistory", null, classElement,
true);
- ep = createOption("messageHistory", "Message History", "attribute",
"java.lang.String", false, "", "", docComment,
+ ep = createOption("messageHistory", "Message History", "attribute",
"java.lang.Boolean", false, "", "", docComment,
false, null, false, null, null, false, false);
eipOptions.add(ep);
// log mask
docComment = findJavaDoc(null, "logMask", null, classElement, true);
- ep = createOption("logMask", "Log Mask", "attribute",
"java.lang.String", false, "false", "", docComment, false, null,
+ ep = createOption("logMask", "Log Mask", "attribute",
"java.lang.Boolean", false, "false", "", docComment, false, null,
false, null, null, false, false);
eipOptions.add(ep);
// delayer
docComment = findJavaDoc(null, "delayer", null, classElement, true);
- ep = createOption("delayer", "Delayer", "attribute",
"java.lang.String", false, "advanced", "", docComment, false, null,
+ ep = createOption("delayer", "Delayer", "attribute", "java.lang.Long",
false, "advanced", "", docComment, false, null,
false,
null, null, false, true);
eipOptions.add(ep);