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 94a1436b1c9 Regen
94a1436b1c9 is described below
commit 94a1436b1c91dc2b564c9e5e878a859e7fdc55d0
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jan 13 07:50:37 2026 +0100
Regen
---
.../camel/springboot/catalog/languages/csimple.json | 5 +++--
.../camel/springboot/catalog/languages/file.json | 5 +++--
.../camel/springboot/catalog/languages/simple.json | 5 +++--
.../camel-core-starter/src/main/docs/core.json | 21 +++++++++++++++++++++
.../springboot/CSimpleLanguageConfiguration.java | 12 ++++++++++++
.../springboot/FileLanguageConfiguration.java | 12 ++++++++++++
.../springboot/SimpleLanguageConfiguration.java | 12 ++++++++++++
7 files changed, 66 insertions(+), 6 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/csimple.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/csimple.json
index fa1350c805c..0368ec28f0e 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/csimple.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages/csimple.json
@@ -18,7 +18,8 @@
"properties": {
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "group":
"common", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the id of this node" },
"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" },
- "resultType": { "index": 2, "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": 3, "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
value to remove leading and trailing whitespaces and line breaks" }
+ "pretty": { "index": 2, "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": 3, "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": 4, "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
value to remove leading and trailing whitespaces and line breaks" }
}
}
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 b271edd19e1..575b2497f00 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
@@ -18,8 +18,9 @@
"properties": {
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "group":
"common", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the id of this node" },
"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" },
- "resultType": { "index": 2, "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": 3, "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
value to remove leading and trailing whitespaces and line breaks" }
+ "pretty": { "index": 2, "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": 3, "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": 4, "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
value to remove leading and trailing whitespaces and line breaks" }
},
"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 315d9ef680e..6525764e11d 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
@@ -18,8 +18,9 @@
"properties": {
"id": { "index": 0, "kind": "attribute", "displayName": "Id", "group":
"common", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "Sets
the id of this node" },
"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" },
- "resultType": { "index": 2, "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": 3, "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
value to remove leading and trailing whitespaces and line breaks" }
+ "pretty": { "index": 2, "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": 3, "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": 4, "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
value to remove leading and trailing whitespaces and line breaks" }
},
"functions": {
"body": { "index": 0, "kind": "function", "displayName": "Body", "group":
"function", "label": "function", "required": false, "javaType": "Object",
"prefix": "${", "deprecated": false, "deprecationNote": "", "autowired": false,
"secret": false, "description": "The message body", "ognl": true, "suffix": "}"
},
diff --git a/components-starter/camel-core-starter/src/main/docs/core.json
b/components-starter/camel-core-starter/src/main/docs/core.json
index e105f3fe058..7092eb4efd6 100644
--- a/components-starter/camel-core-starter/src/main/docs/core.json
+++ b/components-starter/camel-core-starter/src/main/docs/core.json
@@ -396,6 +396,13 @@
"description": "Whether to enable auto configuration of the csimple
language. This is enabled by default.",
"sourceType":
"org.apache.camel.language.csimple.springboot.CSimpleLanguageConfiguration"
},
+ {
+ "name": "camel.language.csimple.pretty",
+ "type": "java.lang.Boolean",
+ "description": "To pretty format the output (only JSon or XML
supported)",
+ "sourceType":
"org.apache.camel.language.csimple.springboot.CSimpleLanguageConfiguration",
+ "defaultValue": false
+ },
{
"name": "camel.language.csimple.trim",
"type": "java.lang.Boolean",
@@ -432,6 +439,13 @@
"description": "Whether to enable auto configuration of the file
language. This is enabled by default.",
"sourceType":
"org.apache.camel.language.simple.springboot.FileLanguageConfiguration"
},
+ {
+ "name": "camel.language.file.pretty",
+ "type": "java.lang.Boolean",
+ "description": "To pretty format the output (only JSon or XML
supported)",
+ "sourceType":
"org.apache.camel.language.simple.springboot.FileLanguageConfiguration",
+ "defaultValue": false
+ },
{
"name": "camel.language.file.trim",
"type": "java.lang.Boolean",
@@ -486,6 +500,13 @@
"description": "Whether to enable auto configuration of the simple
language. This is enabled by default.",
"sourceType":
"org.apache.camel.language.simple.springboot.SimpleLanguageConfiguration"
},
+ {
+ "name": "camel.language.simple.pretty",
+ "type": "java.lang.Boolean",
+ "description": "To pretty format the output (only JSon or XML
supported)",
+ "sourceType":
"org.apache.camel.language.simple.springboot.SimpleLanguageConfiguration",
+ "defaultValue": false
+ },
{
"name": "camel.language.simple.trim",
"type": "java.lang.Boolean",
diff --git
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/csimple/springboot/CSimpleLanguageConfiguration.java
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/csimple/springboot/CSimpleLanguageConfiguration.java
index 11aaf32321d..35b5ae1bace 100644
---
a/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/csimple/springboot/CSimpleLanguageConfiguration.java
+++
b/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/csimple/springboot/CSimpleLanguageConfiguration.java
@@ -34,12 +34,24 @@ public class CSimpleLanguageConfiguration
* enabled by default.
*/
private Boolean enabled;
+ /**
+ * To pretty format the output (only JSon or XML supported)
+ */
+ private Boolean pretty = false;
/**
* Whether to trim the value to remove leading and trailing whitespaces and
* line breaks
*/
private Boolean trim = true;
+ public Boolean getPretty() {
+ return pretty;
+ }
+
+ public void setPretty(Boolean pretty) {
+ this.pretty = pretty;
+ }
+
public Boolean getTrim() {
return trim;
}
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 2fc0c600439..8e3b9a6fd36 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
@@ -34,12 +34,24 @@ public class FileLanguageConfiguration
* enabled by default.
*/
private Boolean enabled;
+ /**
+ * To pretty format the output (only JSon or XML supported)
+ */
+ private Boolean pretty = false;
/**
* Whether to trim the value to remove leading and trailing whitespaces and
* line breaks
*/
private Boolean trim = true;
+ public Boolean getPretty() {
+ return pretty;
+ }
+
+ public void setPretty(Boolean pretty) {
+ this.pretty = pretty;
+ }
+
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 32fa3b558fd..297bbb80d86 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
@@ -34,12 +34,24 @@ public class SimpleLanguageConfiguration
* enabled by default.
*/
private Boolean enabled;
+ /**
+ * To pretty format the output (only JSon or XML supported)
+ */
+ private Boolean pretty = false;
/**
* Whether to trim the value to remove leading and trailing whitespaces and
* line breaks
*/
private Boolean trim = true;
+ public Boolean getPretty() {
+ return pretty;
+ }
+
+ public void setPretty(Boolean pretty) {
+ this.pretty = pretty;
+ }
+
public Boolean getTrim() {
return trim;
}