This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 841cc3dd1640 camel-tahu: six edge-node options are filed under
invented doc groups (#29967)
841cc3dd1640 is described below
commit 841cc3dd16403612dd87e5fd68ffb5bbbdca8d1b
Author: dhairya05 <[email protected]>
AuthorDate: Sun Nov 15 12:51:18 2026 +0530
camel-tahu: six edge-node options are filed under invented doc groups
(#29967)
Six options on the tahu-edge endpoint put an aside into the label:
@UriPath(label = "producer (device only)", ...)
@UriParam(label = "producer (edge node only)", ...)
@UriParam(label = "producer (edge node only),advanced", ...)
label is a comma-separated set of group tokens, not prose, so each of
those strings becomes a group of its own. In tahu-edge.json deviceId sits
in a group called "producer (device only)", deviceIds and primaryHostId
in "producer (edge node only)", and the three ,advanced ones are worse
off still: the generator does not recognise the first token, so
bdSeqManager, bdSeqNumPath and useAliases end up in the plain
"advanced" group rather than "producer (advanced)", away from the
producer options they belong to - and away from headerFilterStrategy,
which uses the correct "producer,advanced" two lines above them.
Use producer and producer,advanced, as the rest of the file already
does, and move the device-only/edge-node-only aside into the
description, where it is still visible and no longer splits the docs.
The regenerated tahu-edge.json files are included (produced by
camel-package-maven-plugin, not by hand).
---
.../apache/camel/catalog/components/tahu-edge.json | 18 +--
.../org/apache/camel/component/tahu/tahu-edge.json | 18 +--
.../camel/component/tahu/TahuEdgeEndpoint.java | 22 +--
.../builder/endpoint/StaticEndpointBuilders.java | 4 +-
.../dsl/TahuEdgeEndpointBuilderFactory.java | 154 +++++++++++----------
5 files changed, 113 insertions(+), 103 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/tahu-edge.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/tahu-edge.json
index 7b5562c77abe..be4efd3a22ea 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/tahu-edge.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/tahu-edge.json
@@ -52,20 +52,20 @@
"properties": {
"groupId": { "index": 0, "kind": "path", "displayName": "Group Id",
"group": "producer", "label": "producer", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "ID of the group" },
"edgeNode": { "index": 1, "kind": "path", "displayName": "Edge Node",
"group": "producer", "label": "producer", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "ID of the edge node" },
- "deviceId": { "index": 2, "kind": "path", "displayName": "Device Id",
"group": "producer (device only)", "label": "producer (device only)",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "ID of
this edge node device" },
+ "deviceId": { "index": 2, "kind": "path", "displayName": "Device Id",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "ID of this edge node device. Applies to the
device endpoint only." },
"checkClientIdLength": { "index": 3, "kind": "parameter", "displayName":
"Check Client Id Length", "group": "common", "label": "common", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.tahu.TahuConfiguration",
"configurationField": "configuration", "description": "MQTT client ID length
check enabled" },
"clientId": { "index": 4, "kind": "parameter", "displayName": "Client Id",
"group": "common", "label": "common", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "MQTT client ID to use for all server
definitions, rather than specifying the same one for each. Note that if neither
th [...]
"keepAliveTimeout": { "index": 5, "kind": "parameter", "displayName":
"Keep Alive Timeout", "group": "common", "label": "common", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 30, "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "MQTT connection keep alive timeout, in
seconds" },
"rebirthDebounceDelay": { "index": 6, "kind": "parameter", "displayName":
"Rebirth Debounce Delay", "group": "common", "label": "common", "required":
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 5000, "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "Delay before recurring node rebirth messages
will be sent" },
"servers": { "index": 7, "kind": "parameter", "displayName": "Servers",
"group": "common", "label": "common", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "MQTT server definitions, given with the
following syntax in a comma-separated list:
MqttServerName:(MqttClientId:)(tcp\/ss [...]
- "metricDataTypePayloadMap": { "index": 8, "kind": "parameter",
"displayName": "Metric Data Type Payload Map", "group": "producer", "label":
"producer", "required": true, "type": "object", "javaType":
"org.eclipse.tahu.message.model.SparkplugBPayloadMap", "deprecated": false,
"autowired": false, "secret": false, "description": "Tahu SparkplugBPayloadMap
to configure metric data types for this edge node or device. Note that this
payload is used exclusively as a Sparkplug B spec-complia [...]
- "headerFilterStrategy": { "index": 9, "kind": "parameter", "displayName":
"Header Filter Strategy", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom HeaderFilterStrategy to
filter headers used as Sparkplug metrics. Default value notice: Defaults to
sending all Camel Message headers with nam [...]
- "lazyStartProducer": { "index": 10, "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 produ [...]
- "bdSeqManager": { "index": 11, "kind": "parameter", "displayName": "Bd Seq
Manager", "group": "advanced", "label": "producer (edge node only),advanced",
"required": false, "type": "object", "javaType":
"org.eclipse.tahu.message.BdSeqManager", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"org.apache.camel.component.tahu.CamelBdSeqManager", "description": "To use a
specific org.eclipse.tahu.message.BdSeqManager implementation to manage edge
node birth-death [...]
- "bdSeqNumPath": { "index": 12, "kind": "parameter", "displayName": "Bd Seq
Num Path", "group": "advanced", "label": "producer (edge node only),advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"${sys:java.io.tmpdir}\/CamelTahuTemp", "description": "Path for Sparkplug B
NBIRTH\/NDEATH sequence number persistence files. This path will contain files
named as -bdSeqNum and must be writ [...]
- "useAliases": { "index": 13, "kind": "parameter", "displayName": "Use
Aliases", "group": "advanced", "label": "producer (edge node only),advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Flag enabling support for metric aliases" },
- "deviceIds": { "index": 14, "kind": "parameter", "displayName": "Device
Ids", "group": "producer (edge node only)", "label": "producer (edge node
only)", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "ID of
each device connected to this edge node, as a comma-separated list" },
- "primaryHostId": { "index": 15, "kind": "parameter", "displayName":
"Primary Host Id", "group": "producer (edge node only)", "label": "producer
(edge node only)", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Host ID of the primary host application for this edge node" },
+ "deviceIds": { "index": 8, "kind": "parameter", "displayName": "Device
Ids", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "ID of each device connected to this
edge node, as a comma-separated list. Applies to the edge node endpoint only."
},
+ "metricDataTypePayloadMap": { "index": 9, "kind": "parameter",
"displayName": "Metric Data Type Payload Map", "group": "producer", "label":
"producer", "required": true, "type": "object", "javaType":
"org.eclipse.tahu.message.model.SparkplugBPayloadMap", "deprecated": false,
"autowired": false, "secret": false, "description": "Tahu SparkplugBPayloadMap
to configure metric data types for this edge node or device. Note that this
payload is used exclusively as a Sparkplug B spec-complia [...]
+ "primaryHostId": { "index": 10, "kind": "parameter", "displayName":
"Primary Host Id", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Host ID of the primary
host application for this edge node. Applies to the edge node endpoint only." },
+ "bdSeqManager": { "index": 11, "kind": "parameter", "displayName": "Bd Seq
Manager", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "object", "javaType":
"org.eclipse.tahu.message.BdSeqManager", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"org.apache.camel.component.tahu.CamelBdSeqManager", "description": "To use a
specific org.eclipse.tahu.message.BdSeqManager implementation to manage edge
node birth-death seque [...]
+ "bdSeqNumPath": { "index": 12, "kind": "parameter", "displayName": "Bd Seq
Num Path", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"${sys:java.io.tmpdir}\/CamelTahuTemp", "description": "Path for Sparkplug B
NBIRTH\/NDEATH sequence number persistence files. This path will contain files
named as -bdSeqNum and must be writable b [...]
+ "headerFilterStrategy": { "index": 13, "kind": "parameter", "displayName":
"Header Filter Strategy", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom HeaderFilterStrategy to
filter headers used as Sparkplug metrics. Default value notice: Defaults to
sending all Camel Message headers with na [...]
+ "lazyStartProducer": { "index": 14, "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 produ [...]
+ "useAliases": { "index": 15, "kind": "parameter", "displayName": "Use
Aliases", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Flag enabling support for metric aliases. Applies to the edge
node endpoint only." },
"password": { "index": 16, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "Password for MQTT server authentication" },
"sslContextParameters": { "index": 17, "kind": "parameter", "displayName":
"Ssl Context Parameters", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "SSL configuration for MQTT server connections"
},
"username": { "index": 18, "kind": "parameter", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "Username for MQTT server authentication" }
diff --git
a/components/camel-tahu/src/generated/resources/META-INF/org/apache/camel/component/tahu/tahu-edge.json
b/components/camel-tahu/src/generated/resources/META-INF/org/apache/camel/component/tahu/tahu-edge.json
index 7b5562c77abe..be4efd3a22ea 100644
---
a/components/camel-tahu/src/generated/resources/META-INF/org/apache/camel/component/tahu/tahu-edge.json
+++
b/components/camel-tahu/src/generated/resources/META-INF/org/apache/camel/component/tahu/tahu-edge.json
@@ -52,20 +52,20 @@
"properties": {
"groupId": { "index": 0, "kind": "path", "displayName": "Group Id",
"group": "producer", "label": "producer", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "ID of the group" },
"edgeNode": { "index": 1, "kind": "path", "displayName": "Edge Node",
"group": "producer", "label": "producer", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "ID of the edge node" },
- "deviceId": { "index": 2, "kind": "path", "displayName": "Device Id",
"group": "producer (device only)", "label": "producer (device only)",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "ID of
this edge node device" },
+ "deviceId": { "index": 2, "kind": "path", "displayName": "Device Id",
"group": "producer", "label": "producer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "ID of this edge node device. Applies to the
device endpoint only." },
"checkClientIdLength": { "index": 3, "kind": "parameter", "displayName":
"Check Client Id Length", "group": "common", "label": "common", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false,
"configurationClass": "org.apache.camel.component.tahu.TahuConfiguration",
"configurationField": "configuration", "description": "MQTT client ID length
check enabled" },
"clientId": { "index": 4, "kind": "parameter", "displayName": "Client Id",
"group": "common", "label": "common", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "MQTT client ID to use for all server
definitions, rather than specifying the same one for each. Note that if neither
th [...]
"keepAliveTimeout": { "index": 5, "kind": "parameter", "displayName":
"Keep Alive Timeout", "group": "common", "label": "common", "required": false,
"type": "integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 30, "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "MQTT connection keep alive timeout, in
seconds" },
"rebirthDebounceDelay": { "index": 6, "kind": "parameter", "displayName":
"Rebirth Debounce Delay", "group": "common", "label": "common", "required":
false, "type": "integer", "javaType": "long", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 5000, "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "Delay before recurring node rebirth messages
will be sent" },
"servers": { "index": 7, "kind": "parameter", "displayName": "Servers",
"group": "common", "label": "common", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "MQTT server definitions, given with the
following syntax in a comma-separated list:
MqttServerName:(MqttClientId:)(tcp\/ss [...]
- "metricDataTypePayloadMap": { "index": 8, "kind": "parameter",
"displayName": "Metric Data Type Payload Map", "group": "producer", "label":
"producer", "required": true, "type": "object", "javaType":
"org.eclipse.tahu.message.model.SparkplugBPayloadMap", "deprecated": false,
"autowired": false, "secret": false, "description": "Tahu SparkplugBPayloadMap
to configure metric data types for this edge node or device. Note that this
payload is used exclusively as a Sparkplug B spec-complia [...]
- "headerFilterStrategy": { "index": 9, "kind": "parameter", "displayName":
"Header Filter Strategy", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom HeaderFilterStrategy to
filter headers used as Sparkplug metrics. Default value notice: Defaults to
sending all Camel Message headers with nam [...]
- "lazyStartProducer": { "index": 10, "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 produ [...]
- "bdSeqManager": { "index": 11, "kind": "parameter", "displayName": "Bd Seq
Manager", "group": "advanced", "label": "producer (edge node only),advanced",
"required": false, "type": "object", "javaType":
"org.eclipse.tahu.message.BdSeqManager", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"org.apache.camel.component.tahu.CamelBdSeqManager", "description": "To use a
specific org.eclipse.tahu.message.BdSeqManager implementation to manage edge
node birth-death [...]
- "bdSeqNumPath": { "index": 12, "kind": "parameter", "displayName": "Bd Seq
Num Path", "group": "advanced", "label": "producer (edge node only),advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"${sys:java.io.tmpdir}\/CamelTahuTemp", "description": "Path for Sparkplug B
NBIRTH\/NDEATH sequence number persistence files. This path will contain files
named as -bdSeqNum and must be writ [...]
- "useAliases": { "index": 13, "kind": "parameter", "displayName": "Use
Aliases", "group": "advanced", "label": "producer (edge node only),advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Flag enabling support for metric aliases" },
- "deviceIds": { "index": 14, "kind": "parameter", "displayName": "Device
Ids", "group": "producer (edge node only)", "label": "producer (edge node
only)", "required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "description": "ID of
each device connected to this edge node, as a comma-separated list" },
- "primaryHostId": { "index": 15, "kind": "parameter", "displayName":
"Primary Host Id", "group": "producer (edge node only)", "label": "producer
(edge node only)", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Host ID of the primary host application for this edge node" },
+ "deviceIds": { "index": 8, "kind": "parameter", "displayName": "Device
Ids", "group": "producer", "label": "producer", "required": false, "type":
"string", "javaType": "java.lang.String", "deprecated": false, "autowired":
false, "secret": false, "description": "ID of each device connected to this
edge node, as a comma-separated list. Applies to the edge node endpoint only."
},
+ "metricDataTypePayloadMap": { "index": 9, "kind": "parameter",
"displayName": "Metric Data Type Payload Map", "group": "producer", "label":
"producer", "required": true, "type": "object", "javaType":
"org.eclipse.tahu.message.model.SparkplugBPayloadMap", "deprecated": false,
"autowired": false, "secret": false, "description": "Tahu SparkplugBPayloadMap
to configure metric data types for this edge node or device. Note that this
payload is used exclusively as a Sparkplug B spec-complia [...]
+ "primaryHostId": { "index": 10, "kind": "parameter", "displayName":
"Primary Host Id", "group": "producer", "label": "producer", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "description": "Host ID of the primary
host application for this edge node. Applies to the edge node endpoint only." },
+ "bdSeqManager": { "index": 11, "kind": "parameter", "displayName": "Bd Seq
Manager", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "object", "javaType":
"org.eclipse.tahu.message.BdSeqManager", "deprecated": false, "autowired":
false, "secret": false, "defaultValue":
"org.apache.camel.component.tahu.CamelBdSeqManager", "description": "To use a
specific org.eclipse.tahu.message.BdSeqManager implementation to manage edge
node birth-death seque [...]
+ "bdSeqNumPath": { "index": 12, "kind": "parameter", "displayName": "Bd Seq
Num Path", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "string", "javaType": "java.lang.String",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
"${sys:java.io.tmpdir}\/CamelTahuTemp", "description": "Path for Sparkplug B
NBIRTH\/NDEATH sequence number persistence files. This path will contain files
named as -bdSeqNum and must be writable b [...]
+ "headerFilterStrategy": { "index": 13, "kind": "parameter", "displayName":
"Header Filter Strategy", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired":
false, "secret": false, "description": "To use a custom HeaderFilterStrategy to
filter headers used as Sparkplug metrics. Default value notice: Defaults to
sending all Camel Message headers with na [...]
+ "lazyStartProducer": { "index": 14, "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 produ [...]
+ "useAliases": { "index": 15, "kind": "parameter", "displayName": "Use
Aliases", "group": "producer (advanced)", "label": "producer,advanced",
"required": false, "type": "boolean", "javaType": "boolean", "deprecated":
false, "autowired": false, "secret": false, "defaultValue": false,
"description": "Flag enabling support for metric aliases. Applies to the edge
node endpoint only." },
"password": { "index": 16, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "Password for MQTT server authentication" },
"sslContextParameters": { "index": 17, "kind": "parameter", "displayName":
"Ssl Context Parameters", "group": "security", "label": "security", "required":
false, "type": "object", "javaType":
"org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "SSL configuration for MQTT server connections"
},
"username": { "index": 18, "kind": "parameter", "displayName": "Username",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "configurationClass":
"org.apache.camel.component.tahu.TahuConfiguration", "configurationField":
"configuration", "description": "Username for MQTT server authentication" }
diff --git
a/components/camel-tahu/src/main/java/org/apache/camel/component/tahu/TahuEdgeEndpoint.java
b/components/camel-tahu/src/main/java/org/apache/camel/component/tahu/TahuEdgeEndpoint.java
index 4edf52fe59d3..baef4e4e8089 100644
---
a/components/camel-tahu/src/main/java/org/apache/camel/component/tahu/TahuEdgeEndpoint.java
+++
b/components/camel-tahu/src/main/java/org/apache/camel/component/tahu/TahuEdgeEndpoint.java
@@ -66,16 +66,19 @@ public class TahuEdgeEndpoint extends TahuDefaultEndpoint
implements HeaderFilte
@Metadata(applicableFor = TahuConstants.EDGE_NODE_SCHEME, required = true)
private final String edgeNode;
- @UriPath(label = "producer (device only)", description = "ID of this edge
node device")
+ @UriPath(label = "producer", description = "ID of this edge node device.
Applies to the device endpoint only.")
@Metadata(applicableFor = TahuConstants.EDGE_NODE_SCHEME)
private final String deviceId;
- @UriParam(label = "producer (edge node only)", description = "Host ID of
the primary host application for this edge node")
+ @UriParam(label = "producer",
+ description = "Host ID of the primary host application for this
edge node. Applies to the edge node"
+ + " endpoint only.")
@Metadata(applicableFor = TahuConstants.EDGE_NODE_SCHEME)
private String primaryHostId;
- @UriParam(label = "producer (edge node only)",
- description = "ID of each device connected to this edge node, as
a comma-separated list")
+ @UriParam(label = "producer",
+ description = "ID of each device connected to this edge node, as
a comma-separated list. Applies to the"
+ + " edge node endpoint only.")
@Metadata(applicableFor = TahuConstants.EDGE_NODE_SCHEME)
private String deviceIds;
@@ -84,7 +87,8 @@ public class TahuEdgeEndpoint extends TahuDefaultEndpoint
implements HeaderFilte
@Metadata(applicableFor = TahuConstants.EDGE_NODE_SCHEME, required = true)
private SparkplugBPayloadMap metricDataTypePayloadMap;
- @UriParam(label = "producer (edge node only),advanced", description =
"Flag enabling support for metric aliases",
+ @UriParam(label = "producer,advanced",
+ description = "Flag enabling support for metric aliases. Applies
to the edge node endpoint only.",
defaultValue = "false")
@Metadata(applicableFor = TahuConstants.EDGE_NODE_SCHEME)
private boolean useAliases = false;
@@ -96,14 +100,14 @@ public class TahuEdgeEndpoint extends TahuDefaultEndpoint
implements HeaderFilte
@Metadata(applicableFor = TahuConstants.EDGE_NODE_SCHEME)
private volatile HeaderFilterStrategy headerFilterStrategy;
- @UriParam(label = "producer (edge node only),advanced",
- description = "To use a specific
org.eclipse.tahu.message.BdSeqManager implementation to manage edge node
birth-death sequence numbers",
+ @UriParam(label = "producer,advanced",
+ description = "To use a specific
org.eclipse.tahu.message.BdSeqManager implementation to manage edge node
birth-death sequence numbers. Applies to the edge node endpoint only.",
defaultValue =
"org.apache.camel.component.tahu.CamelBdSeqManager")
@Metadata(applicableFor = TahuConstants.EDGE_NODE_SCHEME)
private volatile BdSeqManager bdSeqManager;
- @UriParam(label = "producer (edge node only),advanced",
- description = "Path for Sparkplug B NBIRTH/NDEATH sequence
number persistence files. This path will contain files named as \"<Edge Node
ID>-bdSeqNum\" and must be writable by the executing process' user",
+ @UriParam(label = "producer,advanced",
+ description = "Path for Sparkplug B NBIRTH/NDEATH sequence
number persistence files. This path will contain files named as \"<Edge Node
ID>-bdSeqNum\" and must be writable by the executing process' user. Applies to
the edge node endpoint only.",
defaultValue = "${sys:java.io.tmpdir}/CamelTahuTemp")
@Metadata(applicableFor = TahuConstants.EDGE_NODE_SCHEME)
private String bdSeqNumPath;
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 3d94ee696cc6..110c05da65de 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -17264,7 +17264,7 @@ public class StaticEndpointBuilders {
* ID of the edge node
*
* Path parameter: deviceId
- * ID of this edge node device
+ * ID of this edge node device. Applies to the device endpoint only.
*
* @param path groupId/edgeNode
* @return the dsl builder
@@ -17289,7 +17289,7 @@ public class StaticEndpointBuilders {
* ID of the edge node
*
* Path parameter: deviceId
- * ID of this edge node device
+ * ID of this edge node device. Applies to the device endpoint only.
*
* @param componentName to use a custom component name for the endpoint
* instead of the default name
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TahuEdgeEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TahuEdgeEndpointBuilderFactory.java
index f17191554e8a..458e3d64ea30 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TahuEdgeEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/TahuEdgeEndpointBuilderFactory.java
@@ -170,6 +170,21 @@ public interface TahuEdgeEndpointBuilderFactory {
doSetProperty("servers", servers);
return this;
}
+ /**
+ * ID of each device connected to this edge node, as a comma-separated
+ * list. Applies to the edge node endpoint only.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: producer
+ *
+ * @param deviceIds the value to set
+ * @return the dsl builder
+ */
+ default TahuEdgeEndpointBuilder deviceIds(String deviceIds) {
+ doSetProperty("deviceIds", deviceIds);
+ return this;
+ }
/**
* Tahu SparkplugBPayloadMap to configure metric data types for this
* edge node or device. Note that this payload is used exclusively as a
@@ -213,26 +228,12 @@ public interface TahuEdgeEndpointBuilderFactory {
return this;
}
/**
- * ID of each device connected to this edge node, as a comma-separated
- * list.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: producer (edge node only)
- *
- * @param deviceIds the value to set
- * @return the dsl builder
- */
- default TahuEdgeEndpointBuilder deviceIds(String deviceIds) {
- doSetProperty("deviceIds", deviceIds);
- return this;
- }
- /**
- * Host ID of the primary host application for this edge node.
+ * Host ID of the primary host application for this edge node. Applies
+ * to the edge node endpoint only.
*
* The option is a: <code>java.lang.String</code> type.
*
- * Group: producer (edge node only)
+ * Group: producer
*
* @param primaryHostId the value to set
* @return the dsl builder
@@ -311,6 +312,60 @@ public interface TahuEdgeEndpointBuilderFactory {
return (TahuEdgeEndpointBuilder) this;
}
+ /**
+ * To use a specific org.eclipse.tahu.message.BdSeqManager
+ * implementation to manage edge node birth-death sequence numbers.
+ * Applies to the edge node endpoint only.
+ *
+ * The option is a: <code>org.eclipse.tahu.message.BdSeqManager</code>
+ * type.
+ *
+ * Default: org.apache.camel.component.tahu.CamelBdSeqManager
+ * Group: producer (advanced)
+ *
+ * @param bdSeqManager the value to set
+ * @return the dsl builder
+ */
+ default AdvancedTahuEdgeEndpointBuilder
bdSeqManager(org.eclipse.tahu.message.BdSeqManager bdSeqManager) {
+ doSetProperty("bdSeqManager", bdSeqManager);
+ return this;
+ }
+ /**
+ * To use a specific org.eclipse.tahu.message.BdSeqManager
+ * implementation to manage edge node birth-death sequence numbers.
+ * Applies to the edge node endpoint only.
+ *
+ * The option will be converted to a
+ * <code>org.eclipse.tahu.message.BdSeqManager</code> type.
+ *
+ * Default: org.apache.camel.component.tahu.CamelBdSeqManager
+ * Group: producer (advanced)
+ *
+ * @param bdSeqManager the value to set
+ * @return the dsl builder
+ */
+ default AdvancedTahuEdgeEndpointBuilder bdSeqManager(String
bdSeqManager) {
+ doSetProperty("bdSeqManager", bdSeqManager);
+ return this;
+ }
+ /**
+ * Path for Sparkplug B NBIRTH/NDEATH sequence number persistence
files.
+ * This path will contain files named as -bdSeqNum and must be writable
+ * by the executing process' user. Applies to the edge node endpoint
+ * only.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Default: ${sys:java.io.tmpdir}/CamelTahuTemp
+ * Group: producer (advanced)
+ *
+ * @param bdSeqNumPath the value to set
+ * @return the dsl builder
+ */
+ default AdvancedTahuEdgeEndpointBuilder bdSeqNumPath(String
bdSeqNumPath) {
+ doSetProperty("bdSeqNumPath", bdSeqNumPath);
+ return this;
+ }
/**
* To use a custom HeaderFilterStrategy to filter headers used as
* Sparkplug metrics. Default value notice: Defaults to sending all
@@ -394,63 +449,13 @@ public interface TahuEdgeEndpointBuilderFactory {
return this;
}
/**
- * To use a specific org.eclipse.tahu.message.BdSeqManager
- * implementation to manage edge node birth-death sequence numbers.
- *
- * The option is a: <code>org.eclipse.tahu.message.BdSeqManager</code>
- * type.
- *
- * Default: org.apache.camel.component.tahu.CamelBdSeqManager
- * Group: advanced
- *
- * @param bdSeqManager the value to set
- * @return the dsl builder
- */
- default AdvancedTahuEdgeEndpointBuilder
bdSeqManager(org.eclipse.tahu.message.BdSeqManager bdSeqManager) {
- doSetProperty("bdSeqManager", bdSeqManager);
- return this;
- }
- /**
- * To use a specific org.eclipse.tahu.message.BdSeqManager
- * implementation to manage edge node birth-death sequence numbers.
- *
- * The option will be converted to a
- * <code>org.eclipse.tahu.message.BdSeqManager</code> type.
- *
- * Default: org.apache.camel.component.tahu.CamelBdSeqManager
- * Group: advanced
- *
- * @param bdSeqManager the value to set
- * @return the dsl builder
- */
- default AdvancedTahuEdgeEndpointBuilder bdSeqManager(String
bdSeqManager) {
- doSetProperty("bdSeqManager", bdSeqManager);
- return this;
- }
- /**
- * Path for Sparkplug B NBIRTH/NDEATH sequence number persistence
files.
- * This path will contain files named as -bdSeqNum and must be writable
- * by the executing process' user.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Default: ${sys:java.io.tmpdir}/CamelTahuTemp
- * Group: advanced
- *
- * @param bdSeqNumPath the value to set
- * @return the dsl builder
- */
- default AdvancedTahuEdgeEndpointBuilder bdSeqNumPath(String
bdSeqNumPath) {
- doSetProperty("bdSeqNumPath", bdSeqNumPath);
- return this;
- }
- /**
- * Flag enabling support for metric aliases.
+ * Flag enabling support for metric aliases. Applies to the edge node
+ * endpoint only.
*
* The option is a: <code>boolean</code> type.
*
* Default: false
- * Group: advanced
+ * Group: producer (advanced)
*
* @param useAliases the value to set
* @return the dsl builder
@@ -460,12 +465,13 @@ public interface TahuEdgeEndpointBuilderFactory {
return this;
}
/**
- * Flag enabling support for metric aliases.
+ * Flag enabling support for metric aliases. Applies to the edge node
+ * endpoint only.
*
* The option will be converted to a <code>boolean</code> type.
*
* Default: false
- * Group: advanced
+ * Group: producer (advanced)
*
* @param useAliases the value to set
* @return the dsl builder
@@ -507,7 +513,7 @@ public interface TahuEdgeEndpointBuilderFactory {
* ID of the edge node
*
* Path parameter: deviceId
- * ID of this edge node device
+ * ID of this edge node device. Applies to the device endpoint only.
*
* @param path groupId/edgeNode
* @return the dsl builder
@@ -532,7 +538,7 @@ public interface TahuEdgeEndpointBuilderFactory {
* ID of the edge node
*
* Path parameter: deviceId
- * ID of this edge node device
+ * ID of this edge node device. Applies to the device endpoint only.
*
* @param componentName to use a custom component name for the endpoint
* instead of the default name