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 fda063c0ed9e camel-influxdb2: the Org and Bucket headers the producer 
reads are not documented (#30038)
fda063c0ed9e is described below

commit fda063c0ed9e9d4303124a2c2fc87a8a7e923558
Author: dhairya05 <[email protected]>
AuthorDate: Mon Nov 16 01:41:45 2026 +0530

    camel-influxdb2: the Org and Bucket headers the producer reads are not 
documented (#30038)
---
 .../apache/camel/catalog/components/influxdb2.json |  4 +++-
 .../camel/component/influxdb2/influxdb2.json       |  4 +++-
 .../component/influxdb2/InfluxDb2Constants.java    |  4 ++++
 .../dsl/InfluxDb2EndpointBuilderFactory.java       | 26 ++++++++++++++++++++++
 4 files changed, 36 insertions(+), 2 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json
index bb80477b0f95..bed6be61f582 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json
@@ -31,7 +31,9 @@
   "headers": {
     "CamelInfluxDB2MeasurementName": { "index": 0, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "autowired": false, "secret": false, 
"description": "The name of measurement", "constantName": 
"org.apache.camel.component.influxdb2.InfluxDb2Constants#MEASUREMENT" },
     "camelInfluxDB.RetentionPolicy": { "index": 1, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the 
component: the InfluxDB 2.x write API has no retention policy, retention is a 
property of the bucket", "autowired": false, "secret": false, "description": 
"The string that defines the retention policy to the data created by the 
endpoint. Deprecation note: Never read by t [...]
-    "CamelInfluxDB2WritePrecision": { "index": 2, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "com.influxdb.client.domain.WritePrecision", "enum": [ "ms", "s", 
"us", "ns" ], "deprecated": false, "autowired": false, "secret": false, 
"description": "InfluxDb Write precision.", "constantName": 
"org.apache.camel.component.influxdb2.InfluxDb2Constants#WRITE_PRECISION" }
+    "CamelInfluxDB2Org": { "index": 2, "kind": "header", "displayName": "", 
"group": "producer", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
name of the organization to write to, overriding the org option on the 
endpoint.", "constantName": 
"org.apache.camel.component.influxdb2.InfluxDb2Constants#ORG" },
+    "CamelInfluxDB2Bucket": { "index": 3, "kind": "header", "displayName": "", 
"group": "producer", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
name of the bucket to write to, overriding the bucket option on the endpoint.", 
"constantName": 
"org.apache.camel.component.influxdb2.InfluxDb2Constants#BUCKET" },
+    "CamelInfluxDB2WritePrecision": { "index": 4, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "com.influxdb.client.domain.WritePrecision", "enum": [ "ms", "s", 
"us", "ns" ], "deprecated": false, "autowired": false, "secret": false, 
"description": "InfluxDb Write precision.", "constantName": 
"org.apache.camel.component.influxdb2.InfluxDb2Constants#WRITE_PRECISION" }
   },
   "bodyTypes": {
     "producerIn": { "carriers": [ "pojo", "map" ], "byOption": [ { "option": 
"operation", "value": "PING", "carriers": [ "any" ] } ], "description": "A 
com.influxdb.client.write.Point, or the Measurement, Record, Points, 
Measurements or Records wrappers of the component (package 
org.apache.camel.component.influxdb2.data), or a Map of the field names and 
their values with the measurement name under the CamelInfluxDB2MeasurementName 
key. Text, a List or an annotated class that is not wrapp [...]
diff --git 
a/components/camel-influxdb2/src/generated/resources/META-INF/org/apache/camel/component/influxdb2/influxdb2.json
 
b/components/camel-influxdb2/src/generated/resources/META-INF/org/apache/camel/component/influxdb2/influxdb2.json
index bb80477b0f95..bed6be61f582 100644
--- 
a/components/camel-influxdb2/src/generated/resources/META-INF/org/apache/camel/component/influxdb2/influxdb2.json
+++ 
b/components/camel-influxdb2/src/generated/resources/META-INF/org/apache/camel/component/influxdb2/influxdb2.json
@@ -31,7 +31,9 @@
   "headers": {
     "CamelInfluxDB2MeasurementName": { "index": 0, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": false, "autowired": false, "secret": false, 
"description": "The name of measurement", "constantName": 
"org.apache.camel.component.influxdb2.InfluxDb2Constants#MEASUREMENT" },
     "camelInfluxDB.RetentionPolicy": { "index": 1, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "String", "deprecated": true, "deprecationNote": "Never read by the 
component: the InfluxDB 2.x write API has no retention policy, retention is a 
property of the bucket", "autowired": false, "secret": false, "description": 
"The string that defines the retention policy to the data created by the 
endpoint. Deprecation note: Never read by t [...]
-    "CamelInfluxDB2WritePrecision": { "index": 2, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "com.influxdb.client.domain.WritePrecision", "enum": [ "ms", "s", 
"us", "ns" ], "deprecated": false, "autowired": false, "secret": false, 
"description": "InfluxDb Write precision.", "constantName": 
"org.apache.camel.component.influxdb2.InfluxDb2Constants#WRITE_PRECISION" }
+    "CamelInfluxDB2Org": { "index": 2, "kind": "header", "displayName": "", 
"group": "producer", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
name of the organization to write to, overriding the org option on the 
endpoint.", "constantName": 
"org.apache.camel.component.influxdb2.InfluxDb2Constants#ORG" },
+    "CamelInfluxDB2Bucket": { "index": 3, "kind": "header", "displayName": "", 
"group": "producer", "label": "", "required": false, "javaType": "String", 
"deprecated": false, "autowired": false, "secret": false, "description": "The 
name of the bucket to write to, overriding the bucket option on the endpoint.", 
"constantName": 
"org.apache.camel.component.influxdb2.InfluxDb2Constants#BUCKET" },
+    "CamelInfluxDB2WritePrecision": { "index": 4, "kind": "header", 
"displayName": "", "group": "producer", "label": "", "required": false, 
"javaType": "com.influxdb.client.domain.WritePrecision", "enum": [ "ms", "s", 
"us", "ns" ], "deprecated": false, "autowired": false, "secret": false, 
"description": "InfluxDb Write precision.", "constantName": 
"org.apache.camel.component.influxdb2.InfluxDb2Constants#WRITE_PRECISION" }
   },
   "bodyTypes": {
     "producerIn": { "carriers": [ "pojo", "map" ], "byOption": [ { "option": 
"operation", "value": "PING", "carriers": [ "any" ] } ], "description": "A 
com.influxdb.client.write.Point, or the Measurement, Record, Points, 
Measurements or Records wrappers of the component (package 
org.apache.camel.component.influxdb2.data), or a Map of the field names and 
their values with the measurement name under the CamelInfluxDB2MeasurementName 
key. Text, a List or an annotated class that is not wrapp [...]
diff --git 
a/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Constants.java
 
b/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Constants.java
index 858dc4fc2508..263380a0b7d6 100644
--- 
a/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Constants.java
+++ 
b/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Constants.java
@@ -27,7 +27,11 @@ public final class InfluxDb2Constants {
                                 + " retention is a property of the bucket")
     @Deprecated
     public static final String RETENTION_POLICY = 
"camelInfluxDB.RetentionPolicy";
+    @Metadata(description = "The name of the organization to write to, 
overriding the org option on the endpoint.",
+              javaType = "String")
     public static final String ORG = "CamelInfluxDB2Org";
+    @Metadata(description = "The name of the bucket to write to, overriding 
the bucket option on the endpoint.",
+              javaType = "String")
     public static final String BUCKET = "CamelInfluxDB2Bucket";
     @Metadata(description = "InfluxDb Write precision.", javaType = 
"com.influxdb.client.domain.WritePrecision")
     public static final String WRITE_PRECISION = 
"CamelInfluxDB2WritePrecision";
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java
index 8ed601268714..0493bd4f0ee8 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java
@@ -376,6 +376,32 @@ public interface InfluxDb2EndpointBuilderFactory {
         public String influxdbRetentionpolicy() {
             return "camelInfluxDB.RetentionPolicy";
         }
+        /**
+         * The name of the organization to write to, overriding the org option
+         * on the endpoint.
+         * 
+         * The option is a: {@code String} type.
+         * 
+         * Group: producer
+         * 
+         * @return the name of the header {@code InfluxDB2Org}.
+         */
+        public String influxDB2Org() {
+            return "CamelInfluxDB2Org";
+        }
+        /**
+         * The name of the bucket to write to, overriding the bucket option on
+         * the endpoint.
+         * 
+         * The option is a: {@code String} type.
+         * 
+         * Group: producer
+         * 
+         * @return the name of the header {@code InfluxDB2Bucket}.
+         */
+        public String influxDB2Bucket() {
+            return "CamelInfluxDB2Bucket";
+        }
         /**
          * InfluxDb Write precision.
          * 

Reply via email to