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 b6502899db66 Fix typo in route model for the generated schemas and 
metadata
b6502899db66 is described below

commit b6502899db66a7c578fa57b2565c4a5f9167f540
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Oct 30 15:28:08 2025 +0100

    Fix typo in route model for the generated schemas and metadata
---
 .../src/generated/resources/org/apache/camel/catalog/models/route.json  | 2 +-
 .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd         | 2 +-
 .../resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd         | 2 +-
 .../src/generated/resources/META-INF/org/apache/camel/model/route.json  | 2 +-
 .../main/java/org/apache/camel/maven/packaging/SchemaGeneratorMojo.java | 2 +-
 5 files changed, 5 insertions(+), 5 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 d3b37b69f676..ded4371686ca 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
@@ -20,7 +20,7 @@
     "routeConfigurationId": { "index": 5, "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": 6, "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": 7, "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": 8, "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." },
+    "streamCache": { "index": 8, "kind": "attribute", "displayName": "Stream 
Cache", "group": "common", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether stream caching is enabled on 
this route." },
     "trace": { "index": 9, "kind": "attribute", "displayName": "Trace", 
"group": "common", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether tracing is enabled on this 
route." },
     "messageHistory": { "index": 10, "kind": "attribute", "displayName": 
"Message History", "group": "common", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Whether message history 
is enabled on this route." },
     "logMask": { "index": 11, "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." },
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 04eebcc6c588..4e3326d9c456 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
@@ -13010,7 +13010,7 @@ To configure the ordering of the routes being started.
           <xs:annotation>
             <xs:documentation xml:lang="en">
 <![CDATA[
-Whether stream caching is enabled on this route.
+Whether stream caching is enabled on this route. Default value: false
 ]]>
             </xs:documentation>
           </xs:annotation>
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd
index 77a77dd2db4c..23e608dd8731 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-xml-io.xsd
@@ -11704,7 +11704,7 @@ To configure the ordering of the routes being started.
           <xs:annotation>
             <xs:documentation xml:lang="en">
 <![CDATA[
-Whether stream caching is enabled on this route.
+Whether stream caching is enabled on this route. Default value: false
 ]]>
             </xs:documentation>
           </xs:annotation>
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 d3b37b69f676..ded4371686ca 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
@@ -20,7 +20,7 @@
     "routeConfigurationId": { "index": 5, "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": 6, "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": 7, "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": 8, "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." },
+    "streamCache": { "index": 8, "kind": "attribute", "displayName": "Stream 
Cache", "group": "common", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether stream caching is enabled on 
this route." },
     "trace": { "index": 9, "kind": "attribute", "displayName": "Trace", 
"group": "common", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether tracing is enabled on this 
route." },
     "messageHistory": { "index": 10, "kind": "attribute", "displayName": 
"Message History", "group": "common", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Whether message history 
is enabled on this route." },
     "logMask": { "index": 11, "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." },
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 d3f58c83d743..969e8263a1db 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
@@ -812,7 +812,7 @@ public class SchemaGeneratorMojo extends 
AbstractGeneratorMojo {
 
         // stream cache
         docComment = findJavaDoc(null, "streamCache", null, classElement, 
true);
-        ep = createOption("streamCache", "Stream Cache", "attribute", 
"java.lang.Booleam", false, "", "", docComment, false,
+        ep = createOption("streamCache", "Stream Cache", "attribute", 
"java.lang.Boolean", false, "", "", docComment, false,
                 null,
                 false, null, null, false, false);
         eipOptions.add(ep);

Reply via email to