From b8e4ae86266a9829c979a5b83289fbcfcc16d9e9 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:29:40 +0000 Subject: [PATCH] Add component definition: ignite-queue --- component.json | 240 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 240 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..d017a06 --- /dev/null +++ b/component.json @@ -0,0 +1,240 @@ +{ + "component": { + "kind": "component", + "name": "ignite-queue", + "title": "Ignite Queues", + "description": "Interact with Ignite Queue data structures.", + "deprecated": false, + "firstVersion": "2.17.0", + "label": "cache,clustering,messaging", + "javaType": "org.apache.camel.component.ignite.queue.IgniteQueueComponent", + "supportLevel": "Stable", + "groupId": "org.apache.camel", + "artifactId": "camel-ignite", + "version": "4.10.2", + "scheme": "ignite-queue", + "extendsScheme": "", + "syntax": "ignite-queue:name", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "headers": { + "CamelIgniteQueueOperation": { + "index": 0, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "producer", + "required": false, + "javaType": "org.apache.camel.component.ignite.queue.IgniteQueueOperation", + "enum": [ + "CONTAINS", + "ADD", + "SIZE", + "REMOVE", + "ITERATOR", + "CLEAR", + "RETAIN_ALL", + "ARRAY", + "DRAIN", + "ELEMENT", + "PEEK", + "OFFER", + "POLL", + "TAKE", + "PUT" + ], + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Allows you to dynamically change the queue operation.", + "constantName": "org.apache.camel.component.ignite.IgniteConstants#IGNITE_QUEUE_OPERATION" + }, + "CamelIgniteQueueMaxElements": { + "index": 1, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "producer", + "required": false, + "javaType": "Integer", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "When invoking the DRAIN operation, the amount of items to drain.", + "constantName": "org.apache.camel.component.ignite.IgniteConstants#IGNITE_QUEUE_MAX_ELEMENTS" + }, + "CamelIgniteQueueTransferredCount": { + "index": 2, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "producer", + "required": false, + "javaType": "Integer", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The amount of items transferred as the result of the DRAIN operation.", + "constantName": "org.apache.camel.component.ignite.IgniteConstants#IGNITE_QUEUE_TRANSFERRED_COUNT" + }, + "CamelIgniteQueueTimeoutMillis": { + "index": 3, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "producer", + "required": false, + "javaType": "Long", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Dynamically sets the timeout in milliseconds to use when invoking the OFFER or POLL operations.", + "constantName": "org.apache.camel.component.ignite.IgniteConstants#IGNITE_QUEUE_TIMEOUT_MILLIS" + } + }, + "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 queue name." + }, + "capacity": { + "index": 1, + "kind": "parameter", + "displayName": "Capacity", + "group": "producer", + "label": "producer", + "required": false, + "type": "integer", + "javaType": "int", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "The queue capacity. Default: non-bounded." + }, + "configuration": { + "index": 2, + "kind": "parameter", + "displayName": "Configuration", + "group": "producer", + "label": "producer", + "required": false, + "type": "object", + "javaType": "org.apache.ignite.configuration.CollectionConfiguration", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "The collection configuration. Default: empty configuration. You can also conveniently set inner properties by using configuration.xyz=123 options." + }, + "operation": { + "index": 3, + "kind": "parameter", + "displayName": "Operation", + "group": "producer", + "label": "producer", + "required": false, + "type": "object", + "javaType": "org.apache.camel.component.ignite.queue.IgniteQueueOperation", + "enum": [ + "CONTAINS", + "ADD", + "SIZE", + "REMOVE", + "ITERATOR", + "CLEAR", + "RETAIN_ALL", + "ARRAY", + "DRAIN", + "ELEMENT", + "PEEK", + "OFFER", + "POLL", + "TAKE", + "PUT" + ], + "deprecated": false, + "autowired": false, + "secret": false, + "description": "The operation to invoke on the Ignite Queue. Superseded by the IgniteConstants.IGNITE_QUEUE_OPERATION header in the IN message. Possible values: CONTAINS, ADD, SIZE, REMOVE, ITERATOR, CLEAR, RETAIN_ALL, ARRAY, DRAIN, ELEMENT, PEEK, OFFER, POLL, TAKE, PUT." + }, + "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." + }, + "timeoutMillis": { + "index": 5, + "kind": "parameter", + "displayName": "Timeout Millis", + "group": "producer", + "label": "producer", + "required": false, + "type": "integer", + "javaType": "java.lang.Long", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "The queue timeout in milliseconds. Default: no timeout." + }, + "treatCollectionsAsCacheObjects": { + "index": 6, + "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": 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 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