From 9dcc6e196adc05e7706e9c0abbebfa900fc8106d Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:26:51 +0000 Subject: [PATCH] Add component definition: dataformat --- component.json | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..a630929 --- /dev/null +++ b/component.json @@ -0,0 +1,77 @@ +{ + "component": { + "kind": "component", + "name": "dataformat", + "title": "Data Format", + "description": "Use a Camel Data Format as a regular Camel Component.", + "deprecated": false, + "firstVersion": "2.12.0", + "label": "core,transformation", + "javaType": "org.apache.camel.component.dataformat.DataFormatComponent", + "supportLevel": "Stable", + "groupId": "org.apache.camel", + "artifactId": "camel-dataformat", + "version": "4.10.2", + "scheme": "dataformat", + "extendsScheme": "", + "syntax": "dataformat:name:operation", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": true, + "browsable": false, + "remote": false + }, + "properties": { + "name": { + "index": 0, + "kind": "path", + "displayName": "Name", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Name of data format" + }, + "operation": { + "index": 1, + "kind": "path", + "displayName": "Operation", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "enum": [ + "marshal", + "unmarshal" + ], + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Operation to use either marshal or unmarshal" + }, + "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." + } + } +} \ No newline at end of file