From 531945c5abb662497fdd20d6dbe59028c8e0a5e3 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:29:36 +0000 Subject: [PATCH] Add component definition: ignite-idgen --- component.json | 162 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 162 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..ec388fd --- /dev/null +++ b/component.json @@ -0,0 +1,162 @@ +{ + "component": { + "kind": "component", + "name": "ignite-idgen", + "title": "Ignite ID Generator", + "description": "Interact with Ignite Atomic Sequences and ID Generators .", + "deprecated": false, + "firstVersion": "2.17.0", + "label": "cache,clustering", + "javaType": "org.apache.camel.component.ignite.idgen.IgniteIdGenComponent", + "supportLevel": "Stable", + "groupId": "org.apache.camel", + "artifactId": "camel-ignite", + "version": "4.10.2", + "scheme": "ignite-idgen", + "extendsScheme": "", + "syntax": "ignite-idgen:name", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "headers": { + "CamelIgniteIdGenOperation": { + "index": 0, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "producer", + "required": false, + "javaType": "org.apache.camel.component.ignite.idgen.IgniteIdGenOperation", + "enum": [ + "ADD_AND_GET", + "GET", + "GET_AND_ADD", + "GET_AND_INCREMENT", + "INCREMENT_AND_GET" + ], + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Allows you to dynamically change the ID Generator operation.", + "constantName": "org.apache.camel.component.ignite.IgniteConstants#IGNITE_IDGEN_OPERATION" + } + }, + "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": "The sequence name." + }, + "batchSize": { + "index": 1, + "kind": "parameter", + "displayName": "Batch Size", + "group": "producer", + "label": "producer", + "required": false, + "type": "integer", + "javaType": "java.lang.Integer", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "The batch size." + }, + "initialValue": { + "index": 2, + "kind": "parameter", + "displayName": "Initial Value", + "group": "producer", + "label": "producer", + "required": false, + "type": "integer", + "javaType": "java.lang.Long", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": "0", + "description": "The initial value." + }, + "operation": { + "index": 3, + "kind": "parameter", + "displayName": "Operation", + "group": "producer", + "label": "producer", + "required": false, + "type": "object", + "javaType": "org.apache.camel.component.ignite.idgen.IgniteIdGenOperation", + "enum": [ + "ADD_AND_GET", + "GET", + "GET_AND_ADD", + "GET_AND_INCREMENT", + "INCREMENT_AND_GET" + ], + "deprecated": false, + "autowired": false, + "secret": false, + "description": "The operation to invoke on the Ignite ID Generator. Superseded by the IgniteConstants.IGNITE_IDGEN_OPERATION header in the IN message. Possible values: ADD_AND_GET, GET, GET_AND_ADD, GET_AND_INCREMENT, INCREMENT_AND_GET." + }, + "propagateIncomingBodyIfNoReturnValue": { + "index": 4, + "kind": "parameter", + "displayName": "Propagate Incoming Body If No Return Value", + "group": "producer", + "label": "", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": true, + "description": "Sets whether to propagate the incoming body if the return type of the underlying Ignite operation is void." + }, + "treatCollectionsAsCacheObjects": { + "index": 5, + "kind": "parameter", + "displayName": "Treat Collections As Cache Objects", + "group": "producer", + "label": "", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": false, + "description": "Sets whether to treat Collections as cache objects or as Collections of items to insert/update/compute, etc." + }, + "lazyStartProducer": { + "index": 6, + "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