From e436812d3dbc8cb355b6a0cf4a65823884be8a7c Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:32:52 +0000 Subject: [PATCH] Add component definition: saga --- component.json | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..2f38415 --- /dev/null +++ b/component.json @@ -0,0 +1,79 @@ +{ + "component": { + "kind": "component", + "name": "saga", + "title": "Saga", + "description": "Execute custom actions within a route using the Saga EIP.", + "deprecated": false, + "firstVersion": "2.21.0", + "label": "clustering", + "javaType": "org.apache.camel.component.saga.SagaComponent", + "supportLevel": "Stable", + "groupId": "org.apache.camel", + "artifactId": "camel-saga", + "version": "4.10.2", + "scheme": "saga", + "extendsScheme": "", + "syntax": "saga:action", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "headers": { + "Long-Running-Action": { + "index": 0, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The long running action", + "constantName": "org.apache.camel.component.saga.SagaConstants#SAGA_LONG_RUNNING_ACTION" + } + }, + "properties": { + "action": { + "index": 0, + "kind": "path", + "displayName": "Action", + "group": "producer", + "label": "", + "required": true, + "type": "object", + "javaType": "org.apache.camel.component.saga.SagaEndpoint.SagaEndpointAction", + "enum": [ + "COMPLETE", + "COMPENSATE" + ], + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Action to execute (complete or compensate)" + }, + "lazyStartProducer": { + "index": 1, + "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