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 648c6140edb CAMEL-20933: rest-dsl - Add option to configure stream 
cache per route
648c6140edb is described below

commit 648c6140edb5b73743f4c1e326579c28b3f23725
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Jul 2 13:15:02 2024 +0200

    CAMEL-20933: rest-dsl - Add option to configure stream cache per route
---
 .../org/apache/camel/catalog/models/delete.json    |  3 +-
 .../org/apache/camel/catalog/models/get.json       |  3 +-
 .../org/apache/camel/catalog/models/head.json      |  3 +-
 .../org/apache/camel/catalog/models/patch.json     |  3 +-
 .../org/apache/camel/catalog/models/post.json      |  3 +-
 .../org/apache/camel/catalog/models/put.json       |  3 +-
 .../apache/camel/catalog/schemas/camel-spring.xsd  |  9 ++++++
 .../org/apache/camel/model/rest/delete.json        |  3 +-
 .../META-INF/org/apache/camel/model/rest/get.json  |  3 +-
 .../META-INF/org/apache/camel/model/rest/head.json |  3 +-
 .../org/apache/camel/model/rest/patch.json         |  3 +-
 .../META-INF/org/apache/camel/model/rest/post.json |  3 +-
 .../META-INF/org/apache/camel/model/rest/put.json  |  3 +-
 .../apache/camel/model/rest/RestDefinition.java    |  3 ++
 .../apache/camel/model/rest/VerbDefinition.java    | 29 +++++++++++++++++
 .../java/org/apache/camel/xml/in/ModelParser.java  |  1 +
 .../java/org/apache/camel/xml/out/ModelWriter.java |  1 +
 .../org/apache/camel/yaml/out/ModelWriter.java     |  1 +
 .../dsl/yaml/deserializers/ModelDeserializers.java | 36 ++++++++++++++++++++++
 .../generated/resources/schema/camelYamlDsl.json   | 30 ++++++++++++++++++
 20 files changed, 134 insertions(+), 12 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/delete.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/delete.json
index 465a8001347..6725df3fabb 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/delete.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/delete.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
   }
 }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/get.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/get.json
index eedbe0c5833..811c1d69307 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/get.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/get.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
   }
 }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/head.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/head.json
index 7fa31d711c4..beab89e687a 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/head.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/head.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
   }
 }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/patch.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/patch.json
index 3853ee590b0..162538699b0 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/patch.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/patch.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
   }
 }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/post.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/post.json
index d99a75d293e..51b478c6637 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/post.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/post.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
   }
 }
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/put.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/put.json
index 4146194b008..89d7ec524a5 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/put.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/put.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the 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 19f8a80fcbd..307c30ddd19 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
@@ -15357,6 +15357,15 @@ Whether to include or exclude this rest operation in 
API documentation. The defa
             <xs:documentation xml:lang="en">
 <![CDATA[
 Marks this rest operation as deprecated in OpenApi documentation. Default 
value: false
+]]>
+            </xs:documentation>
+          </xs:annotation>
+        </xs:attribute>
+        <xs:attribute name="streamCache" type="xs:string">
+          <xs:annotation>
+            <xs:documentation xml:lang="en">
+<![CDATA[
+Whether stream caching is enabled on this rest operation. Default value: false
 ]]>
             </xs:documentation>
           </xs:annotation>
diff --git 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/delete.json
 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/delete.json
index 465a8001347..6725df3fabb 100644
--- 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/delete.json
+++ 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/delete.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
   }
 }
diff --git 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/get.json
 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/get.json
index eedbe0c5833..811c1d69307 100644
--- 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/get.json
+++ 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/get.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
   }
 }
diff --git 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/head.json
 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/head.json
index 7fa31d711c4..beab89e687a 100644
--- 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/head.json
+++ 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/head.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
   }
 }
diff --git 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/patch.json
 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/patch.json
index 3853ee590b0..162538699b0 100644
--- 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/patch.json
+++ 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/patch.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
   }
 }
diff --git 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/post.json
 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/post.json
index d99a75d293e..51b478c6637 100644
--- 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/post.json
+++ 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/post.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
   }
 }
diff --git 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/put.json
 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/put.json
index 4146194b008..89d7ec524a5 100644
--- 
a/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/put.json
+++ 
b/core/camel-core-model/src/generated/resources/META-INF/org/apache/camel/model/rest/put.json
@@ -28,6 +28,7 @@
     "enableNoContentResponse": { "index": 13, "kind": "attribute", 
"displayName": "Enable No Content Response", "group": "advanced", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to return HTTP 204 with an empty 
body when a response contains an empty JSON object or XML root object. The 
default value is false." },
     "apiDocs": { "index": 14, "kind": "attribute", "displayName": "Api Docs", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to include or 
exclude this rest operation in API documentation. The default value is true." },
     "deprecated": { "index": 15, "kind": "attribute", "displayName": 
"Deprecated", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Marks this rest operation as deprecated in OpenApi documentation." },
-    "routeId": { "index": 16, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
+    "streamCache": { "index": 16, "kind": "attribute", "displayName": "Stream 
Cache", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether stream 
caching is enabled on this rest operation." },
+    "routeId": { "index": 17, "kind": "attribute", "displayName": "Route Id", 
"group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the id of the route" }
   }
 }
diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/model/rest/RestDefinition.java
 
b/core/camel-core-model/src/main/java/org/apache/camel/model/rest/RestDefinition.java
index 558f545fa0b..b17b53ad1d4 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/model/rest/RestDefinition.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/model/rest/RestDefinition.java
@@ -1064,6 +1064,9 @@ public class RestDefinition extends 
OptionalIdentifiedDefinition<RestDefinition>
             if (verb.getRouteId() != null) {
                 route.routeId(parseText(camelContext, verb.getRouteId()));
             }
+            if (verb.getStreamCache() != null) {
+                route.streamCache(parseText(camelContext, 
verb.getStreamCache()));
+            }
             route.getOutputs().add(verb.getTo());
 
             // add the binding
diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/model/rest/VerbDefinition.java
 
b/core/camel-core-model/src/main/java/org/apache/camel/model/rest/VerbDefinition.java
index de629aef4ce..88f86413d0f 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/model/rest/VerbDefinition.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/model/rest/VerbDefinition.java
@@ -27,6 +27,7 @@ import jakarta.xml.bind.annotation.XmlElementRef;
 import jakarta.xml.bind.annotation.XmlTransient;
 
 import org.apache.camel.model.OptionalIdentifiedDefinition;
+import org.apache.camel.model.RouteDefinition;
 import org.apache.camel.model.ToDefinition;
 import org.apache.camel.spi.Metadata;
 
@@ -88,6 +89,9 @@ public abstract class VerbDefinition extends 
OptionalIdentifiedDefinition<VerbDe
     @Metadata(label = "advanced", javaType = "java.lang.Boolean", defaultValue 
= "false")
     private String deprecated;
     @XmlAttribute
+    @Metadata(label = "advanced", javaType = "java.lang.Boolean")
+    private String streamCache;
+    @XmlAttribute
     private String routeId;
     @XmlElement(required = true)
     private ToDefinition to;
@@ -122,6 +126,31 @@ public abstract class VerbDefinition extends 
OptionalIdentifiedDefinition<VerbDe
         return routeId;
     }
 
+    /**
+     * Whether stream caching is enabled on this rest operation.
+     */
+    public String getStreamCache() {
+        return streamCache;
+    }
+
+    /**
+     * Whether stream caching is enabled on this rest operation.
+     */
+    public void setStreamCache(String streamCache) {
+        this.streamCache = streamCache;
+    }
+
+    /**
+     * Enable or disables stream caching for this rest operation.
+     *
+     * @param  streamCache whether to use stream caching (true or false), the 
value can be a property placeholder
+     * @return             the builder
+     */
+    public VerbDefinition streamCache(String streamCache) {
+        setStreamCache(streamCache);
+        return this;
+    }
+
     /**
      * Sets the id of the route
      */
diff --git 
a/core/camel-xml-io/src/generated/java/org/apache/camel/xml/in/ModelParser.java 
b/core/camel-xml-io/src/generated/java/org/apache/camel/xml/in/ModelParser.java
index 625fb53648a..938d2bee8cf 100644
--- 
a/core/camel-xml-io/src/generated/java/org/apache/camel/xml/in/ModelParser.java
+++ 
b/core/camel-xml-io/src/generated/java/org/apache/camel/xml/in/ModelParser.java
@@ -2452,6 +2452,7 @@ public class ModelParser extends BaseParser {
             case "produces": def.setProduces(val); yield true;
             case "routeId": def.setRouteId(val); yield true;
             case "skipBindingOnErrorCode": def.setSkipBindingOnErrorCode(val); 
yield true;
+            case "streamCache": def.setStreamCache(val); yield true;
             case "type": def.setType(val); yield true;
             default: yield 
optionalIdentifiedDefinitionAttributeHandler().accept(def, key, val);
         };
diff --git 
a/core/camel-xml-io/src/generated/java/org/apache/camel/xml/out/ModelWriter.java
 
b/core/camel-xml-io/src/generated/java/org/apache/camel/xml/out/ModelWriter.java
index 2cca764f818..3639f664e94 100644
--- 
a/core/camel-xml-io/src/generated/java/org/apache/camel/xml/out/ModelWriter.java
+++ 
b/core/camel-xml-io/src/generated/java/org/apache/camel/xml/out/ModelWriter.java
@@ -3428,6 +3428,7 @@ public class ModelWriter extends BaseWriter {
         doWriteOptionalIdentifiedDefinitionAttributes(def);
         doWriteAttribute("enableCORS", def.getEnableCORS());
         doWriteAttribute("deprecated", def.getDeprecated());
+        doWriteAttribute("streamCache", def.getStreamCache());
         doWriteAttribute("type", def.getType());
         doWriteAttribute("outType", def.getOutType());
         doWriteAttribute("path", def.getPath());
diff --git 
a/core/camel-yaml-io/src/generated/java/org/apache/camel/yaml/out/ModelWriter.java
 
b/core/camel-yaml-io/src/generated/java/org/apache/camel/yaml/out/ModelWriter.java
index 45fe2a09adb..3f51a062f32 100644
--- 
a/core/camel-yaml-io/src/generated/java/org/apache/camel/yaml/out/ModelWriter.java
+++ 
b/core/camel-yaml-io/src/generated/java/org/apache/camel/yaml/out/ModelWriter.java
@@ -3428,6 +3428,7 @@ public class ModelWriter extends BaseWriter {
         doWriteOptionalIdentifiedDefinitionAttributes(def);
         doWriteAttribute("enableCORS", def.getEnableCORS());
         doWriteAttribute("deprecated", def.getDeprecated());
+        doWriteAttribute("streamCache", def.getStreamCache());
         doWriteAttribute("type", def.getType());
         doWriteAttribute("outType", def.getOutType());
         doWriteAttribute("path", def.getPath());
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 44e740222ce..6fa9af1ca17 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
@@ -4850,6 +4850,7 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     @YamlProperty(name = "routeId", type = "string", 
description = "Sets the id of the route", displayName = "Route Id"),
                     @YamlProperty(name = "security", type = 
"array:org.apache.camel.model.rest.SecurityDefinition"),
                     @YamlProperty(name = "skipBindingOnErrorCode", type = 
"boolean", description = "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level", displayName = 
"Skip Binding On Error Code"),
+                    @YamlProperty(name = "streamCache", type = "boolean", 
description = "Whether stream caching is enabled on this rest operation.", 
displayName = "Stream Cache"),
                     @YamlProperty(name = "to", type = 
"object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint 
this REST service will call, such as a direct endpoint to link to an existing 
route that handles this REST call.", displayName = "To"),
                     @YamlProperty(name = "type", type = "string", description 
= "Sets the class name to use for binding from input to POJO for the incoming 
data This option will override what may be configured on a parent level. The 
name of the class of the input data. Append a to the end of the name if you 
want the input to be an array type.", displayName = "Type")
             }
@@ -4949,6 +4950,11 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     target.setSkipBindingOnErrorCode(val);
                     break;
                 }
+                case "streamCache": {
+                    String val = asText(node);
+                    target.setStreamCache(val);
+                    break;
+                }
                 case "to": {
                     org.apache.camel.model.ToDefinition val = asType(node, 
org.apache.camel.model.ToDefinition.class);
                     target.setTo(val);
@@ -6281,6 +6287,7 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     @YamlProperty(name = "routeId", type = "string", 
description = "Sets the id of the route", displayName = "Route Id"),
                     @YamlProperty(name = "security", type = 
"array:org.apache.camel.model.rest.SecurityDefinition"),
                     @YamlProperty(name = "skipBindingOnErrorCode", type = 
"boolean", description = "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level", displayName = 
"Skip Binding On Error Code"),
+                    @YamlProperty(name = "streamCache", type = "boolean", 
description = "Whether stream caching is enabled on this rest operation.", 
displayName = "Stream Cache"),
                     @YamlProperty(name = "to", type = 
"object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint 
this REST service will call, such as a direct endpoint to link to an existing 
route that handles this REST call.", displayName = "To"),
                     @YamlProperty(name = "type", type = "string", description 
= "Sets the class name to use for binding from input to POJO for the incoming 
data This option will override what may be configured on a parent level. The 
name of the class of the input data. Append a to the end of the name if you 
want the input to be an array type.", displayName = "Type")
             }
@@ -6380,6 +6387,11 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     target.setSkipBindingOnErrorCode(val);
                     break;
                 }
+                case "streamCache": {
+                    String val = asText(node);
+                    target.setStreamCache(val);
+                    break;
+                }
                 case "to": {
                     org.apache.camel.model.ToDefinition val = asType(node, 
org.apache.camel.model.ToDefinition.class);
                     target.setTo(val);
@@ -6742,6 +6754,7 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     @YamlProperty(name = "routeId", type = "string", 
description = "Sets the id of the route", displayName = "Route Id"),
                     @YamlProperty(name = "security", type = 
"array:org.apache.camel.model.rest.SecurityDefinition"),
                     @YamlProperty(name = "skipBindingOnErrorCode", type = 
"boolean", description = "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level", displayName = 
"Skip Binding On Error Code"),
+                    @YamlProperty(name = "streamCache", type = "boolean", 
description = "Whether stream caching is enabled on this rest operation.", 
displayName = "Stream Cache"),
                     @YamlProperty(name = "to", type = 
"object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint 
this REST service will call, such as a direct endpoint to link to an existing 
route that handles this REST call.", displayName = "To"),
                     @YamlProperty(name = "type", type = "string", description 
= "Sets the class name to use for binding from input to POJO for the incoming 
data This option will override what may be configured on a parent level. The 
name of the class of the input data. Append a to the end of the name if you 
want the input to be an array type.", displayName = "Type")
             }
@@ -6841,6 +6854,11 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     target.setSkipBindingOnErrorCode(val);
                     break;
                 }
+                case "streamCache": {
+                    String val = asText(node);
+                    target.setStreamCache(val);
+                    break;
+                }
                 case "to": {
                     org.apache.camel.model.ToDefinition val = asType(node, 
org.apache.camel.model.ToDefinition.class);
                     target.setTo(val);
@@ -11255,6 +11273,7 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     @YamlProperty(name = "routeId", type = "string", 
description = "Sets the id of the route", displayName = "Route Id"),
                     @YamlProperty(name = "security", type = 
"array:org.apache.camel.model.rest.SecurityDefinition"),
                     @YamlProperty(name = "skipBindingOnErrorCode", type = 
"boolean", description = "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level", displayName = 
"Skip Binding On Error Code"),
+                    @YamlProperty(name = "streamCache", type = "boolean", 
description = "Whether stream caching is enabled on this rest operation.", 
displayName = "Stream Cache"),
                     @YamlProperty(name = "to", type = 
"object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint 
this REST service will call, such as a direct endpoint to link to an existing 
route that handles this REST call.", displayName = "To"),
                     @YamlProperty(name = "type", type = "string", description 
= "Sets the class name to use for binding from input to POJO for the incoming 
data This option will override what may be configured on a parent level. The 
name of the class of the input data. Append a to the end of the name if you 
want the input to be an array type.", displayName = "Type")
             }
@@ -11354,6 +11373,11 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     target.setSkipBindingOnErrorCode(val);
                     break;
                 }
+                case "streamCache": {
+                    String val = asText(node);
+                    target.setStreamCache(val);
+                    break;
+                }
                 case "to": {
                     org.apache.camel.model.ToDefinition val = asType(node, 
org.apache.camel.model.ToDefinition.class);
                     target.setTo(val);
@@ -11737,6 +11761,7 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     @YamlProperty(name = "routeId", type = "string", 
description = "Sets the id of the route", displayName = "Route Id"),
                     @YamlProperty(name = "security", type = 
"array:org.apache.camel.model.rest.SecurityDefinition"),
                     @YamlProperty(name = "skipBindingOnErrorCode", type = 
"boolean", description = "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level", displayName = 
"Skip Binding On Error Code"),
+                    @YamlProperty(name = "streamCache", type = "boolean", 
description = "Whether stream caching is enabled on this rest operation.", 
displayName = "Stream Cache"),
                     @YamlProperty(name = "to", type = 
"object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint 
this REST service will call, such as a direct endpoint to link to an existing 
route that handles this REST call.", displayName = "To"),
                     @YamlProperty(name = "type", type = "string", description 
= "Sets the class name to use for binding from input to POJO for the incoming 
data This option will override what may be configured on a parent level. The 
name of the class of the input data. Append a to the end of the name if you 
want the input to be an array type.", displayName = "Type")
             }
@@ -11836,6 +11861,11 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     target.setSkipBindingOnErrorCode(val);
                     break;
                 }
+                case "streamCache": {
+                    String val = asText(node);
+                    target.setStreamCache(val);
+                    break;
+                }
                 case "to": {
                     org.apache.camel.model.ToDefinition val = asType(node, 
org.apache.camel.model.ToDefinition.class);
                     target.setTo(val);
@@ -12267,6 +12297,7 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     @YamlProperty(name = "routeId", type = "string", 
description = "Sets the id of the route", displayName = "Route Id"),
                     @YamlProperty(name = "security", type = 
"array:org.apache.camel.model.rest.SecurityDefinition"),
                     @YamlProperty(name = "skipBindingOnErrorCode", type = 
"boolean", description = "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level", displayName = 
"Skip Binding On Error Code"),
+                    @YamlProperty(name = "streamCache", type = "boolean", 
description = "Whether stream caching is enabled on this rest operation.", 
displayName = "Stream Cache"),
                     @YamlProperty(name = "to", type = 
"object:org.apache.camel.model.ToDefinition", description = "The Camel endpoint 
this REST service will call, such as a direct endpoint to link to an existing 
route that handles this REST call.", displayName = "To"),
                     @YamlProperty(name = "type", type = "string", description 
= "Sets the class name to use for binding from input to POJO for the incoming 
data This option will override what may be configured on a parent level. The 
name of the class of the input data. Append a to the end of the name if you 
want the input to be an array type.", displayName = "Type")
             }
@@ -12366,6 +12397,11 @@ public final class ModelDeserializers extends 
YamlDeserializerSupport {
                     target.setSkipBindingOnErrorCode(val);
                     break;
                 }
+                case "streamCache": {
+                    String val = asText(node);
+                    target.setStreamCache(val);
+                    break;
+                }
                 case "to": {
                     org.apache.camel.model.ToDefinition val = asType(node, 
org.apache.camel.model.ToDefinition.class);
                     target.setTo(val);
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 8efb1bdc629..df42a1efc56 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
@@ -14310,6 +14310,11 @@
             "title" : "Skip Binding On Error Code",
             "description" : "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level"
           },
+          "streamCache" : {
+            "type" : "boolean",
+            "title" : "Stream Cache",
+            "description" : "Whether stream caching is enabled on this rest 
operation."
+          },
           "to" : {
             "title" : "To",
             "description" : "The Camel endpoint this REST service will call, 
such as a direct endpoint to link to an existing route that handles this REST 
call.",
@@ -14423,6 +14428,11 @@
             "title" : "Skip Binding On Error Code",
             "description" : "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level"
           },
+          "streamCache" : {
+            "type" : "boolean",
+            "title" : "Stream Cache",
+            "description" : "Whether stream caching is enabled on this rest 
operation."
+          },
           "to" : {
             "title" : "To",
             "description" : "The Camel endpoint this REST service will call, 
such as a direct endpoint to link to an existing route that handles this REST 
call.",
@@ -14536,6 +14546,11 @@
             "title" : "Skip Binding On Error Code",
             "description" : "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level"
           },
+          "streamCache" : {
+            "type" : "boolean",
+            "title" : "Stream Cache",
+            "description" : "Whether stream caching is enabled on this rest 
operation."
+          },
           "to" : {
             "title" : "To",
             "description" : "The Camel endpoint this REST service will call, 
such as a direct endpoint to link to an existing route that handles this REST 
call.",
@@ -14863,6 +14878,11 @@
             "title" : "Skip Binding On Error Code",
             "description" : "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level"
           },
+          "streamCache" : {
+            "type" : "boolean",
+            "title" : "Stream Cache",
+            "description" : "Whether stream caching is enabled on this rest 
operation."
+          },
           "to" : {
             "title" : "To",
             "description" : "The Camel endpoint this REST service will call, 
such as a direct endpoint to link to an existing route that handles this REST 
call.",
@@ -14976,6 +14996,11 @@
             "title" : "Skip Binding On Error Code",
             "description" : "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level"
           },
+          "streamCache" : {
+            "type" : "boolean",
+            "title" : "Stream Cache",
+            "description" : "Whether stream caching is enabled on this rest 
operation."
+          },
           "to" : {
             "title" : "To",
             "description" : "The Camel endpoint this REST service will call, 
such as a direct endpoint to link to an existing route that handles this REST 
call.",
@@ -15089,6 +15114,11 @@
             "title" : "Skip Binding On Error Code",
             "description" : "Whether to skip binding on output if there is a 
custom HTTP error code header. This allows to build custom error messages that 
do not bind to json / xml etc, as success messages otherwise will do. This 
option will override what may be configured on a parent level"
           },
+          "streamCache" : {
+            "type" : "boolean",
+            "title" : "Stream Cache",
+            "description" : "Whether stream caching is enabled on this rest 
operation."
+          },
           "to" : {
             "title" : "To",
             "description" : "The Camel endpoint this REST service will call, 
such as a direct endpoint to link to an existing route that handles this REST 
call.",

Reply via email to