From d6e78e91f350efde0b5e7f7e7315de6db97c649a Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:33:12 +0000 Subject: [PATCH] Add component definition: smooks --- component.json | 105 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..2cafef2 --- /dev/null +++ b/component.json @@ -0,0 +1,105 @@ +{ + "component": { + "kind": "component", + "name": "smooks", + "title": "Smooks", + "description": "Use Smooks to transform, route, and bind both XML and non-XML data, including EDI, CSV, JSON, and YAML.", + "deprecated": false, + "firstVersion": "4.7.0", + "label": "transformation", + "javaType": "org.apache.camel.component.smooks.SmooksComponent", + "supportLevel": "Stable", + "groupId": "org.apache.camel", + "artifactId": "camel-smooks", + "version": "4.10.2", + "scheme": "smooks", + "extendsScheme": "", + "syntax": "smooks:smooksConfig", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "headers": { + "CamelSmooksExecutionContext": { + "index": 0, + "kind": "header", + "displayName": "", + "group": "advanced", + "label": "advanced", + "required": false, + "javaType": "org.smooks.api.ExecutionContext", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The Smooks execution context.", + "constantName": "org.apache.camel.component.smooks.SmooksConstants#SMOOKS_EXECUTION_CONTEXT" + } + }, + "properties": { + "smooksConfig": { + "index": 0, + "kind": "path", + "displayName": "Smooks Config", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "supportFileReference": true, + "description": "Path to the Smooks configuration file" + }, + "reportPath": { + "index": 1, + "kind": "parameter", + "displayName": "Report Path", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "File path to place the generated HTML execution report. The report is a useful tool in the developers arsenal for diagnosing issues or comprehending a transformation. Do not set in production since this is a major performance drain" + }, + "lazyStartProducer": { + "index": 2, + "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 producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing." + }, + "allowExecutionContextFromHeader": { + "index": 3, + "kind": "parameter", + "displayName": "Allow Execution Context From Header", + "group": "advanced", + "label": "advanced", + "required": false, + "type": "boolean", + "javaType": "java.lang.Boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": "false", + "description": "Allow execution context to be set from the CamelSmooksExecutionContext header" + } + } +} \ No newline at end of file