This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch CAMEL-23832-batch35
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/CAMEL-23832-batch35 by this
push:
new 0ce79038aae8 CAMEL-23832: camel-elasticsearch-rest-client - split the
sniffAfterFailureDelay description
0ce79038aae8 is described below
commit 0ce79038aae8b08d185a73f6a70bf7d0e8323fd6
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Dec 1 18:40:25 2026 +0100
CAMEL-23832: camel-elasticsearch-rest-client - split the
sniffAfterFailureDelay description
Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
.../catalog/components/elasticsearch-rest-client.json | 2 +-
.../rest/client/elasticsearch-rest-client.json | 2 +-
.../rest/client/ElasticsearchRestClientEndpoint.java | 6 +++---
.../dsl/ElasticsearchRestClientEndpointBuilderFactory.java | 14 ++++++++------
4 files changed, 13 insertions(+), 11 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/elasticsearch-rest-client.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/elasticsearch-rest-client.json
index 1df8f5068619..7d2242c4598b 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/elasticsearch-rest-client.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/elasticsearch-rest-client.json
@@ -60,7 +60,7 @@
"lazyStartProducer": { "index": 6, "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 produc [...]
"enableSniffer": { "index": 7, "kind": "parameter", "displayName": "Enable
Sniffer", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Whether to start the
Sniffer of the Elasticsearch REST client, which reads the nodes of the cluster
from its Nodes Info API at start and then at the snifferInterval, and updates
the nodes that the client [...]
"restClient": { "index": 8, "kind": "parameter", "displayName": "Rest
Client", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "org.elasticsearch.client.RestClient", "deprecated":
false, "autowired": true, "secret": false, "description": "The
org.elasticsearch.client.RestClient to use, instead of a client that the
producer creates. When set, hostAddressesList and the timeout, security and
sniffer options are not used, and the producer does n [...]
- "sniffAfterFailureDelay": { "index": 9, "kind": "parameter",
"displayName": "Sniff After Failure Delay", "group": "advanced", "label":
"advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
60000, "description": "The delay in milliseconds of the read of the nodes that
the Sniffer schedules after a failed request, when enableSniffer is set. Must
be greater than 0. It has no effect at the moment: th [...]
+ "sniffAfterFailureDelay": { "index": 9, "kind": "parameter",
"displayName": "Sniff After Failure Delay", "group": "advanced", "label":
"advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
60000, "description": "The delay in milliseconds of the read of the nodes that
the Sniffer schedules after a failed request, when enableSniffer is set. Must
be greater than 0. It has no effect at the moment, as [...]
"snifferInterval": { "index": 10, "kind": "parameter", "displayName":
"Sniffer Interval", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 60000, "description": "The interval in
milliseconds between two reads of the nodes of the cluster, when enableSniffer
is set. Must be greater than 0." },
"certificatePath": { "index": 11, "kind": "parameter", "displayName":
"Certificate Path", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "supportFileReference": true,
"description": "The CA certificate, in X.509 format, that the client trusts for
HTTPS instead of the default trust store of the JVM. It is loaded from the
classpath by default, or with the prefix cla [...]
"password": { "index": 12, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "description": "The password for basic
authentication. Used only when user is also set." },
diff --git
a/components/camel-elasticsearch-rest-client/src/generated/resources/META-INF/org/apache/camel/component/elasticsearch/rest/client/elasticsearch-rest-client.json
b/components/camel-elasticsearch-rest-client/src/generated/resources/META-INF/org/apache/camel/component/elasticsearch/rest/client/elasticsearch-rest-client.json
index 1df8f5068619..7d2242c4598b 100644
---
a/components/camel-elasticsearch-rest-client/src/generated/resources/META-INF/org/apache/camel/component/elasticsearch/rest/client/elasticsearch-rest-client.json
+++
b/components/camel-elasticsearch-rest-client/src/generated/resources/META-INF/org/apache/camel/component/elasticsearch/rest/client/elasticsearch-rest-client.json
@@ -60,7 +60,7 @@
"lazyStartProducer": { "index": 6, "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 produc [...]
"enableSniffer": { "index": 7, "kind": "parameter", "displayName": "Enable
Sniffer", "group": "advanced", "label": "advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "description": "Whether to start the
Sniffer of the Elasticsearch REST client, which reads the nodes of the cluster
from its Nodes Info API at start and then at the snifferInterval, and updates
the nodes that the client [...]
"restClient": { "index": 8, "kind": "parameter", "displayName": "Rest
Client", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType": "org.elasticsearch.client.RestClient", "deprecated":
false, "autowired": true, "secret": false, "description": "The
org.elasticsearch.client.RestClient to use, instead of a client that the
producer creates. When set, hostAddressesList and the timeout, security and
sniffer options are not used, and the producer does n [...]
- "sniffAfterFailureDelay": { "index": 9, "kind": "parameter",
"displayName": "Sniff After Failure Delay", "group": "advanced", "label":
"advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
60000, "description": "The delay in milliseconds of the read of the nodes that
the Sniffer schedules after a failed request, when enableSniffer is set. Must
be greater than 0. It has no effect at the moment: th [...]
+ "sniffAfterFailureDelay": { "index": 9, "kind": "parameter",
"displayName": "Sniff After Failure Delay", "group": "advanced", "label":
"advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
60000, "description": "The delay in milliseconds of the read of the nodes that
the Sniffer schedules after a failed request, when enableSniffer is set. Must
be greater than 0. It has no effect at the moment, as [...]
"snifferInterval": { "index": 10, "kind": "parameter", "displayName":
"Sniffer Interval", "group": "advanced", "label": "advanced", "required":
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": 60000, "description": "The interval in
milliseconds between two reads of the nodes of the cluster, when enableSniffer
is set. Must be greater than 0." },
"certificatePath": { "index": 11, "kind": "parameter", "displayName":
"Certificate Path", "group": "security", "label": "security", "required":
false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "supportFileReference": true,
"description": "The CA certificate, in X.509 format, that the client trusts for
HTTPS instead of the default trust store of the JVM. It is loaded from the
classpath by default, or with the prefix cla [...]
"password": { "index": 12, "kind": "parameter", "displayName": "Password",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "security": "secret", "description": "The password for basic
authentication. Used only when user is also set." },
diff --git
a/components/camel-elasticsearch-rest-client/src/main/java/org/apache/camel/component/elasticsearch/rest/client/ElasticsearchRestClientEndpoint.java
b/components/camel-elasticsearch-rest-client/src/main/java/org/apache/camel/component/elasticsearch/rest/client/ElasticsearchRestClientEndpoint.java
index a2e936cd1eb9..6f5d307ff0c6 100644
---
a/components/camel-elasticsearch-rest-client/src/main/java/org/apache/camel/component/elasticsearch/rest/client/ElasticsearchRestClientEndpoint.java
+++
b/components/camel-elasticsearch-rest-client/src/main/java/org/apache/camel/component/elasticsearch/rest/client/ElasticsearchRestClientEndpoint.java
@@ -152,9 +152,9 @@ public class ElasticsearchRestClientEndpoint extends
DefaultEndpoint implements
private int snifferInterval =
ElasticSearchRestClientConstant.SNIFFER_INTERVAL_AND_FAILURE_DELAY;
@UriParam(label = "advanced", defaultValue = "" +
ElasticSearchRestClientConstant.SNIFFER_INTERVAL_AND_FAILURE_DELAY,
description = "The delay in milliseconds of the read of the
nodes that the Sniffer schedules after a failed"
- + " request, when enableSniffer is set. Must be
greater than 0. It has no effect at the moment:"
- + " the client is created without the listener
that reports failed requests to the Sniffer, so"
- + " the Sniffer reads the nodes only at the
snifferInterval.")
+ + " request, when enableSniffer is set. Must be
greater than 0. It has no effect at the moment, as"
+ + " the client is created without the listener
that reports failed requests to the Sniffer."
+ + " The Sniffer then reads the nodes only at the
snifferInterval.")
private int sniffAfterFailureDelay =
ElasticSearchRestClientConstant.SNIFFER_INTERVAL_AND_FAILURE_DELAY;
public ElasticsearchRestClientEndpoint(String uri,
ElasticsearchRestClientComponent component) {
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ElasticsearchRestClientEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ElasticsearchRestClientEndpointBuilderFactory.java
index cb0dfff724bf..49b1d0b83b50 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ElasticsearchRestClientEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ElasticsearchRestClientEndpointBuilderFactory.java
@@ -398,9 +398,10 @@ public interface
ElasticsearchRestClientEndpointBuilderFactory {
/**
* The delay in milliseconds of the read of the nodes that the Sniffer
* schedules after a failed request, when enableSniffer is set. Must be
- * greater than 0. It has no effect at the moment: the client is
created
- * without the listener that reports failed requests to the Sniffer, so
- * the Sniffer reads the nodes only at the snifferInterval.
+ * greater than 0. It has no effect at the moment, as the client is
+ * created without the listener that reports failed requests to the
+ * Sniffer. The Sniffer then reads the nodes only at the
+ * snifferInterval.
*
* The option is a: <code>int</code> type.
*
@@ -417,9 +418,10 @@ public interface
ElasticsearchRestClientEndpointBuilderFactory {
/**
* The delay in milliseconds of the read of the nodes that the Sniffer
* schedules after a failed request, when enableSniffer is set. Must be
- * greater than 0. It has no effect at the moment: the client is
created
- * without the listener that reports failed requests to the Sniffer, so
- * the Sniffer reads the nodes only at the snifferInterval.
+ * greater than 0. It has no effect at the moment, as the client is
+ * created without the listener that reports failed requests to the
+ * Sniffer. The Sniffer then reads the nodes only at the
+ * snifferInterval.
*
* The option will be converted to a <code>int</code> type.
*