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 a1776c428af Regen
a1776c428af is described below

commit a1776c428af81a53f9e81b1ad32a014225363b1e
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Feb 4 10:54:33 2026 +0100

    Regen
---
 .../org/apache/camel/springboot/catalog/languages/file.json |  5 +++--
 .../apache/camel/springboot/catalog/languages/simple.json   |  5 +++--
 .../simple/springboot/FileLanguageConfiguration.java        | 13 +++++++++++++
 .../simple/springboot/SimpleLanguageConfiguration.java      | 13 +++++++++++++
 4 files changed, 32 insertions(+), 4 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/file.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/file.json
index 4e231948b54..237159c553c 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/file.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/file.json
@@ -20,8 +20,9 @@
     "expression": { "index": 1, "kind": "value", "displayName": "Expression", 
"group": "common", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "The expression value in your chosen language syntax" },
     "trimResult": { "index": 2, "kind": "attribute", "displayName": "Trim 
Result", "group": "common", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to trim the returned values when 
this language are in use. For example the output result may contain unwanted 
line breaks at the beginning and end such as when using Java DSL with 
multi-line blocks. Is default fals [...]
     "pretty": { "index": 3, "kind": "attribute", "displayName": "Pretty", 
"group": "common", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "To pretty format the output (only JSon 
or XML supported)" },
-    "resultType": { "index": 4, "kind": "attribute", "displayName": "Result 
Type", "group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the class of the result type (type from output)" },
-    "trim": { "index": 5, "kind": "attribute", "displayName": "Trim", "group": 
"advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to trim the 
source code to remove leading and trailing whitespaces and line breaks. For 
example when using DSLs where the source will span across multiple lines and 
there may be additional line breaks at b [...]
+    "nested": { "index": 4, "kind": "attribute", "displayName": "Nested", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "If the result is a 
nested simple expression should this expression be evaluated as well" },
+    "resultType": { "index": 5, "kind": "attribute", "displayName": "Result 
Type", "group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the class of the result type (type from output)" },
+    "trim": { "index": 6, "kind": "attribute", "displayName": "Trim", "group": 
"advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to trim the 
source code to remove leading and trailing whitespaces and line breaks. For 
example when using DSLs where the source will span across multiple lines and 
there may be additional line breaks at b [...]
   },
   "functions": {
     "file:name": { "index": 0, "kind": "function", "displayName": "File", 
"group": "function", "label": "function", "required": false, "javaType": 
"String", "prefix": "${", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "The file name (relative 
from starting directory)", "ognl": false, "suffix": "}" },
diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/simple.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/simple.json
index 571f8b340b3..cf6f576aea7 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/simple.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/simple.json
@@ -20,8 +20,9 @@
     "expression": { "index": 1, "kind": "value", "displayName": "Expression", 
"group": "common", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "The expression value in your chosen language syntax" },
     "trimResult": { "index": 2, "kind": "attribute", "displayName": "Trim 
Result", "group": "common", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to trim the returned values when 
this language are in use. For example the output result may contain unwanted 
line breaks at the beginning and end such as when using Java DSL with 
multi-line blocks. Is default fals [...]
     "pretty": { "index": 3, "kind": "attribute", "displayName": "Pretty", 
"group": "common", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "To pretty format the output (only JSon 
or XML supported)" },
-    "resultType": { "index": 4, "kind": "attribute", "displayName": "Result 
Type", "group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the class of the result type (type from output)" },
-    "trim": { "index": 5, "kind": "attribute", "displayName": "Trim", "group": 
"advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to trim the 
source code to remove leading and trailing whitespaces and line breaks. For 
example when using DSLs where the source will span across multiple lines and 
there may be additional line breaks at b [...]
+    "nested": { "index": 4, "kind": "attribute", "displayName": "Nested", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "If the result is a 
nested simple expression should this expression be evaluated as well" },
+    "resultType": { "index": 5, "kind": "attribute", "displayName": "Result 
Type", "group": "common", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the class of the result type (type from output)" },
+    "trim": { "index": 6, "kind": "attribute", "displayName": "Trim", "group": 
"advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to trim the 
source code to remove leading and trailing whitespaces and line breaks. For 
example when using DSLs where the source will span across multiple lines and 
there may be additional line breaks at b [...]
   },
   "functions": {
     "abs(exp)": { "index": 0, "kind": "function", "displayName": "Absolute 
Number", "group": "function", "label": "function", "required": false, 
"javaType": "Long", "prefix": "${", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "Converts the message body 
(or expression) to a long number and return the absolute value.", "ognl": 
false, "suffix": "}" },
diff --git 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/FileLanguageConfiguration.java
 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/FileLanguageConfiguration.java
index 9113283952e..2c1d61f2f57 100644
--- 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/FileLanguageConfiguration.java
+++ 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/FileLanguageConfiguration.java
@@ -45,6 +45,11 @@ public class FileLanguageConfiguration
      * To pretty format the output (only JSon or XML supported)
      */
     private Boolean pretty = false;
+    /**
+     * If the result is a nested simple expression should this expression be
+     * evaluated as well
+     */
+    private Boolean nested = false;
     /**
      * Whether to trim the source code to remove leading and trailing
      * whitespaces and line breaks. For example when using DSLs where the 
source
@@ -69,6 +74,14 @@ public class FileLanguageConfiguration
         this.pretty = pretty;
     }
 
+    public Boolean getNested() {
+        return nested;
+    }
+
+    public void setNested(Boolean nested) {
+        this.nested = nested;
+    }
+
     public Boolean getTrim() {
         return trim;
     }
diff --git 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/SimpleLanguageConfiguration.java
 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/SimpleLanguageConfiguration.java
index 1756f1d25ae..cc6ea958e35 100644
--- 
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/SimpleLanguageConfiguration.java
+++ 
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/simple/springboot/SimpleLanguageConfiguration.java
@@ -45,6 +45,11 @@ public class SimpleLanguageConfiguration
      * To pretty format the output (only JSon or XML supported)
      */
     private Boolean pretty = false;
+    /**
+     * If the result is a nested simple expression should this expression be
+     * evaluated as well
+     */
+    private Boolean nested = false;
     /**
      * Whether to trim the source code to remove leading and trailing
      * whitespaces and line breaks. For example when using DSLs where the 
source
@@ -69,6 +74,14 @@ public class SimpleLanguageConfiguration
         this.pretty = pretty;
     }
 
+    public Boolean getNested() {
+        return nested;
+    }
+
+    public void setNested(Boolean nested) {
+        this.nested = nested;
+    }
+
     public Boolean getTrim() {
         return trim;
     }

Reply via email to