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 33878a50aaa CAMEL-22112: camel-jsonata: Add option to read template 
from header like camel-xslt. Add option to pretty print output
33878a50aaa is described below

commit 33878a50aaae80f1f45ef4b186c87f319f955998
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Sat Jun 21 09:39:59 2025 +0200

    CAMEL-22112: camel-jsonata: Add option to read template from header like 
camel-xslt. Add option to pretty print output
---
 .../apache/camel/springboot/catalog/components/jsonata.json  | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jsonata.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jsonata.json
index f67958d9f71..dcaa6272482 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jsonata.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/jsonata.json
@@ -31,10 +31,12 @@
   "properties": {
     "resourceUri": { "index": 0, "kind": "path", "displayName": "Resource 
Uri", "group": "producer", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "supportFileReference": true, 
"description": "Path to the resource. You can prefix with: classpath, file, 
http, ref, or bean. classpath, file and http loads the resource using these 
protocols (classpath is default). ref will look [...]
     "allowContextMapAll": { "index": 1, "kind": "parameter", "displayName": 
"Allow Context Map All", "group": "producer", "label": "", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Sets whether the 
context map should allow access to all details. By default only the message 
body and headers can be accessed. This option can be enabled for full access to 
the current Exchange and C [...]
-    "contentCache": { "index": 2, "kind": "parameter", "displayName": "Content 
Cache", "group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "Sets whether to use resource 
content cache or not" },
-    "inputType": { "index": 3, "kind": "parameter", "displayName": "Input 
Type", "group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.jsonata.JsonataInputOutputType", 
"enum": [ "Jackson", "JsonString" ], "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "Jackson", "description": "Specifies if the 
input should be Jackson JsonNode or a JSON String." },
-    "outputType": { "index": 4, "kind": "parameter", "displayName": "Output 
Type", "group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.jsonata.JsonataInputOutputType", 
"enum": [ "Jackson", "JsonString" ], "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "Jackson", "description": "Specifies if the 
output should be Jackson JsonNode or a JSON String." },
-    "lazyStartProducer": { "index": 5, "kind": "parameter", "displayName": 
"Lazy Start Producer", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether the producer should be started 
lazy (on the first message). By starting lazy you can use this to allow 
CamelContext and routes to startup in situations where a produc [...]
-    "frameBinding": { "index": 6, "kind": "parameter", "displayName": "Frame 
Binding", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": "org.apache.camel.component.jsonata.JsonataFrameBinding", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
configure the Jsonata frame binding. Allows custom functions to be added." }
+    "allowTemplateFromHeader": { "index": 2, "kind": "parameter", 
"displayName": "Allow Template From Header", "group": "producer", "label": "", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"description": "Whether to allow to use resource template from header or not 
(default false). Enabling this allows to specify dynamic templates via message 
header. However this can be seen as a potential s [...]
+    "contentCache": { "index": 3, "kind": "parameter", "displayName": "Content 
Cache", "group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "Sets whether to use resource 
content cache or not" },
+    "inputType": { "index": 4, "kind": "parameter", "displayName": "Input 
Type", "group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.jsonata.JsonataInputOutputType", 
"enum": [ "Jackson", "JsonString" ], "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "Jackson", "description": "Specifies if the 
input should be Jackson JsonNode or a JSON String." },
+    "outputType": { "index": 5, "kind": "parameter", "displayName": "Output 
Type", "group": "producer", "label": "", "required": false, "type": "object", 
"javaType": "org.apache.camel.component.jsonata.JsonataInputOutputType", 
"enum": [ "Jackson", "JsonString" ], "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "Jackson", "description": "Specifies if the 
output should be Jackson JsonNode or a JSON String." },
+    "prettyPrint": { "index": 6, "kind": "parameter", "displayName": "Pretty 
Print", "group": "producer", "label": "", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "Whether to pretty print JSon 
output when using string as output type." },
+    "lazyStartProducer": { "index": 7, "kind": "parameter", "displayName": 
"Lazy Start Producer", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether the producer should be started 
lazy (on the first message). By starting lazy you can use this to allow 
CamelContext and routes to startup in situations where a produc [...]
+    "frameBinding": { "index": 8, "kind": "parameter", "displayName": "Frame 
Binding", "group": "advanced", "label": "advanced", "required": false, "type": 
"object", "javaType": "org.apache.camel.component.jsonata.JsonataFrameBinding", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
configure the Jsonata frame binding. Allows custom functions to be added." }
   }
 }

Reply via email to