From b985af826d10888fb0e8271570f33f7c9ab26929 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:27:32 +0000 Subject: [PATCH] Add component definition: dynamic-router-control --- component.json | 300 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 300 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..a90f96b --- /dev/null +++ b/component.json @@ -0,0 +1,300 @@ +{ + "component": { + "kind": "component", + "name": "dynamic-router-control", + "title": "Dynamic Router Control", + "description": "The Dynamic Router control endpoint for operations that allow routing participants to subscribe or unsubscribe to participate in dynamic message routing.", + "deprecated": false, + "firstVersion": "4.4.0", + "label": "messaging", + "javaType": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlComponent", + "supportLevel": "Stable", + "groupId": "org.apache.camel", + "artifactId": "camel-dynamic-router", + "version": "4.10.2", + "scheme": "dynamic-router-control", + "extendsScheme": "", + "syntax": "dynamic-router-control:controlAction", + "async": false, + "api": false, + "consumerOnly": false, + "producerOnly": true, + "lenientProperties": false, + "browsable": false, + "remote": false + }, + "headers": { + "CamelDynamicRouterControlAction": { + "index": 0, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The control action header.", + "constantName": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConstants#CONTROL_ACTION_HEADER" + }, + "CamelDynamicRouterSubscribeChannel": { + "index": 1, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The Dynamic Router channel that the subscriber is subscribing on.", + "constantName": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConstants#CONTROL_SUBSCRIBE_CHANNEL" + }, + "CamelDynamicRouterSubscriptionId": { + "index": 2, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The subscription ID.", + "constantName": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConstants#CONTROL_SUBSCRIPTION_ID" + }, + "CamelDynamicRouterDestinationUri": { + "index": 3, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The URI on which the routing participant wants to receive matching exchanges.", + "constantName": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConstants#CONTROL_DESTINATION_URI" + }, + "CamelDynamicRouterPriority": { + "index": 4, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The priority of this subscription", + "constantName": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConstants#CONTROL_PRIORITY" + }, + "CamelDynamicRouterPredicate": { + "index": 5, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The predicate to evaluate exchanges for this subscription", + "constantName": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConstants#CONTROL_PREDICATE" + }, + "CamelDynamicRouterPredicateBean": { + "index": 6, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The name of the bean in the registry that identifies the subscription predicate.", + "constantName": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConstants#CONTROL_PREDICATE_BEAN" + }, + "CamelDynamicRouterExpressionLanguage": { + "index": 7, + "kind": "header", + "displayName": "", + "group": "producer", + "label": "", + "required": false, + "javaType": "String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "The language for the predicate when supplied as a string.", + "constantName": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConstants#CONTROL_EXPRESSION_LANGUAGE" + } + }, + "properties": { + "controlAction": { + "index": 0, + "kind": "path", + "displayName": "Control Action", + "group": "producer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "enum": [ + "subscribe", + "unsubscribe", + "update", + "list", + "statistics" + ], + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Control action" + }, + "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." + }, + "destinationUri": { + "index": 2, + "kind": "parameter", + "displayName": "Destination Uri", + "group": "control", + "label": "control", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConfiguration", + "configurationField": "configuration", + "description": "The destination URI for exchanges that match." + }, + "expressionLanguage": { + "index": 3, + "kind": "parameter", + "displayName": "Expression Language", + "group": "control", + "label": "control", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": "simple", + "configurationClass": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConfiguration", + "configurationField": "configuration", + "description": "The subscription predicate language." + }, + "predicate": { + "index": 4, + "kind": "parameter", + "displayName": "Predicate", + "group": "control", + "label": "control", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConfiguration", + "configurationField": "configuration", + "description": "The subscription predicate." + }, + "predicateBean": { + "index": 5, + "kind": "parameter", + "displayName": "Predicate Bean", + "group": "control", + "label": "control", + "required": false, + "type": "object", + "javaType": "org.apache.camel.Predicate", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConfiguration", + "configurationField": "configuration", + "description": "A Predicate instance in the registry." + }, + "priority": { + "index": 6, + "kind": "parameter", + "displayName": "Priority", + "group": "control", + "label": "control", + "required": false, + "type": "integer", + "javaType": "java.lang.Integer", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConfiguration", + "configurationField": "configuration", + "description": "The subscription priority." + }, + "subscribeChannel": { + "index": 7, + "kind": "parameter", + "displayName": "Subscribe Channel", + "group": "control", + "label": "control", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConfiguration", + "configurationField": "configuration", + "description": "The channel to subscribe to" + }, + "subscriptionId": { + "index": 8, + "kind": "parameter", + "displayName": "Subscription Id", + "group": "control", + "label": "control", + "required": false, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "autowired": false, + "secret": false, + "configurationClass": "org.apache.camel.component.dynamicrouter.control.DynamicRouterControlConfiguration", + "configurationField": "configuration", + "description": "The subscription ID; if unspecified, one will be assigned and returned." + } + } +} \ No newline at end of file