From dd261ffdc421389d3adca6a02ee4f6a0aa64e77c Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Mon, 12 Oct 2026 02:40:02 +0000 Subject: [PATCH] Add component definition: hazelcast-ringbuffer --- component.json | 323 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 323 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..83da4f3 --- /dev/null +++ b/component.json @@ -0,0 +1,323 @@ +{ + "component": { + "kind": "component", + "name": "hazelcast-ringbuffer", + "title": "Hazelcast Ringbuffer", + "description": "Perform operations on Hazelcast distributed ringbuffer.", + "deprecated": false, + "firstVersion": "1.1.0", + "label": "cache,clustering", + "javaType": "org.apache.camel.component.hazelcast.ringbuffer.HazelcastRingbufferComponent", + "supportLevel": "Stable", + "nativeSupported": true, + "metadata": { + "quarkusVersion": "3.36.0", + "camelArtifact": "org.apache.camel:camel-hazelcast", + "camelVersion": "4.20.0" + }, + "groupId": "org.apache.camel.quarkus", + "artifactId": "camel-quarkus-hazelcast", + "version": "4.20.0 (CEQ 3.36.0)", + "scheme": "hazelcast-ringbuffer", + "extendsScheme": "", + "syntax": "hazelcast-ringbuffer:cacheName", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": true + }, + "componentProperties": { + "lazyStartProducer": { + "index": 0, + "kind": "property", + "displayName": "Lazy Start Producer", + "group": "producer", + "label": "producer", + "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." + }, + "autowiredEnabled": { + "index": 1, + "kind": "property", + "displayName": "Autowired Enabled", + "group": "advanced", + "label": "advanced", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": true, + "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc." + }, + "hazelcastInstance": { + "index": 2, + "kind": "property", + "displayName": "Hazelcast Instance", + "group": "advanced", + "label": "advanced", + "required": false, + "type": "object", + "javaType": "com.hazelcast.core.HazelcastInstance", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "The hazelcast instance reference which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance." + }, + "hazelcastMode": { + "index": 3, + "kind": "property", + "displayName": "Hazelcast Mode", + "group": "advanced", + "label": "advanced", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": "node", + "description": "The hazelcast mode reference which kind of instance should be used. If you don't specify the mode, then the node mode will be the default." + } + }, + "headers": { + "CamelHazelcastOperationType": { + "index": 0, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "producer", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The operation to perform", + "constantName": "org.apache.camel.component.hazelcast.HazelcastConstants#OPERATION" + } + }, + "properties": { + "cacheName": { + "index": 0, + "kind": "path", + "displayName": "Cache Name", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The name of the cache" + }, + "defaultOperation": { + "index": 1, + "kind": "parameter", + "displayName": "Default Operation", + "group": "producer", + "label": "", + "required": false, + "type": "enum", + "javaType": "org.apache.camel.component.hazelcast.HazelcastOperation", + "enum": [ + "put", + "delete", + "get", + "update", + "query", + "getAll", + "clear", + "putIfAbsent", + "addAll", + "removeAll", + "retainAll", + "evict", + "evictAll", + "valueCount", + "containsKey", + "containsValue", + "getKeys", + "removeValue", + "increment", + "decrement", + "setValue", + "destroy", + "compareAndSet", + "getAndAdd", + "add", + "offer", + "peek", + "poll", + "remainingCapacity", + "drainTo", + "removeIf", + "take", + "publish", + "readOnceHead", + "readOnceTail", + "capacity" + ], + "deprecated": false, + "autowired": false, + "secret": false, + "description": "To specify a default operation to use, if no operation header has been provided." + }, + "hazelcastConfigUri": { + "index": 2, + "kind": "parameter", + "displayName": "Hazelcast Config Uri", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "supportFileReference": true, + "description": "Hazelcast configuration file." + }, + "hazelcastInstance": { + "index": 3, + "kind": "parameter", + "displayName": "Hazelcast Instance", + "group": "producer", + "label": "", + "required": false, + "type": "object", + "javaType": "com.hazelcast.core.HazelcastInstance", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "The hazelcast instance reference which can be used for hazelcast endpoint." + }, + "hazelcastInstanceName": { + "index": 4, + "kind": "parameter", + "displayName": "Hazelcast Instance Name", + "group": "producer", + "label": "", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "The hazelcast instance reference name which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance." + }, + "lazyStartProducer": { + "index": 5, + "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." + } + }, + "propertiesSchema": { + "properties": { + "cacheName": { + "title": "Cache Name", + "description": "The name of the cache", + "type": "string", + "$comment": "group:producer" + }, + "defaultOperation": { + "title": "Default Operation", + "description": "To specify a default operation to use, if no operation header has been provided.", + "type": "string", + "enum": [ + "put", + "delete", + "get", + "update", + "query", + "getAll", + "clear", + "putIfAbsent", + "addAll", + "removeAll", + "retainAll", + "evict", + "evictAll", + "valueCount", + "containsKey", + "containsValue", + "getKeys", + "removeValue", + "increment", + "decrement", + "setValue", + "destroy", + "compareAndSet", + "getAndAdd", + "add", + "offer", + "peek", + "poll", + "remainingCapacity", + "drainTo", + "removeIf", + "take", + "publish", + "readOnceHead", + "readOnceTail", + "capacity" + ], + "$comment": "group:producer" + }, + "hazelcastConfigUri": { + "title": "Hazelcast Config Uri", + "description": "Hazelcast configuration file.", + "type": "string", + "$comment": "group:producer" + }, + "hazelcastInstance": { + "title": "Hazelcast Instance", + "description": "The hazelcast instance reference which can be used for hazelcast endpoint.", + "type": "string", + "$comment": "group:producer", + "format": "bean:com.hazelcast.core.HazelcastInstance" + }, + "hazelcastInstanceName": { + "title": "Hazelcast Instance Name", + "description": "The hazelcast instance reference name which can be used for hazelcast endpoint. If you don't specify the instance reference, camel use the default hazelcast instance from the camel-hazelcast instance.", + "type": "string", + "$comment": "group:producer" + }, + "lazyStartProducer": { + "title": "Lazy Start Producer", + "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.", + "type": "boolean", + "$comment": "group:producer (advanced)", + "default": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "required": [ + "cacheName" + ] + } +} \ No newline at end of file