From 106da6f3c7a71b07c3d56ca0814e21d34a9227b8 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:31:45 +0000 Subject: [PATCH] Add component definition: lumberjack --- component.json | 120 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 component.json diff --git a/component.json b/component.json new file mode 100644 index 0000000..72904f1 --- /dev/null +++ b/component.json @@ -0,0 +1,120 @@ +{ + "component": { + "kind": "component", + "name": "lumberjack", + "title": "Lumberjack", + "description": "Receive logs messages using the Lumberjack protocol.", + "deprecated": false, + "firstVersion": "2.18.0", + "label": "monitoring", + "javaType": "org.apache.camel.component.lumberjack.LumberjackComponent", + "supportLevel": "Stable", + "groupId": "org.apache.camel", + "artifactId": "camel-lumberjack", + "version": "4.10.2", + "scheme": "lumberjack", + "extendsScheme": "", + "syntax": "lumberjack:host:port", + "async": false, + "api": false, + "consumerOnly": true, + "producerOnly": false, + "lenientProperties": false, + "browsable": false, + "remote": false + }, + "properties": { + "host": { + "index": 0, + "kind": "path", + "displayName": "Host", + "group": "consumer", + "label": "", + "required": true, + "type": "string", + "javaType": "java.lang.String", + "deprecated": false, + "deprecationNote": "", + "autowired": false, + "secret": false, + "description": "Network interface on which to listen for Lumberjack" + }, + "port": { + "index": 1, + "kind": "path", + "displayName": "Port", + "group": "consumer", + "label": "", + "required": false, + "type": "integer", + "javaType": "int", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": 5044, + "description": "Network port on which to listen for Lumberjack" + }, + "sslContextParameters": { + "index": 2, + "kind": "parameter", + "displayName": "Ssl Context Parameters", + "group": "consumer", + "label": "", + "required": false, + "type": "object", + "javaType": "org.apache.camel.support.jsse.SSLContextParameters", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "SSL configuration" + }, + "bridgeErrorHandler": { + "index": 3, + "kind": "parameter", + "displayName": "Bridge Error Handler", + "group": "consumer (advanced)", + "label": "consumer,advanced", + "required": false, + "type": "boolean", + "javaType": "boolean", + "deprecated": false, + "autowired": false, + "secret": false, + "defaultValue": false, + "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not possible. In other situations we may improve the Camel component to hook into the 3rd party component and make this possible for future releases. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored." + }, + "exceptionHandler": { + "index": 4, + "kind": "parameter", + "displayName": "Exception Handler", + "group": "consumer (advanced)", + "label": "consumer,advanced", + "required": false, + "type": "object", + "javaType": "org.apache.camel.spi.ExceptionHandler", + "optionalPrefix": "consumer.", + "deprecated": false, + "autowired": false, + "secret": false, + "description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored." + }, + "exchangePattern": { + "index": 5, + "kind": "parameter", + "displayName": "Exchange Pattern", + "group": "consumer (advanced)", + "label": "consumer,advanced", + "required": false, + "type": "object", + "javaType": "org.apache.camel.ExchangePattern", + "enum": [ + "InOnly", + "InOut" + ], + "deprecated": false, + "autowired": false, + "secret": false, + "description": "Sets the exchange pattern when the consumer creates an exchange." + } + } +} \ No newline at end of file