From f999b6bde5f8414bbd7b1a3d2034c684e83961b9 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Sun, 18 Oct 2026 12:19:21 +0200 Subject: [PATCH] CAMEL-25706, CAMEL-25707, CAMEL-25708: upgrade guide notes for the 4.22.3 and 4.18.6 backports The credentials of camel-elasticsearch, camel-elasticsearch-rest-client and camel-opensearch are now bound to the cluster nodes on camel-4.22.x and camel-4.18.x as well. Add the matching notes to the 4.22 guide, in a new 4.22.2 to 4.22.3 section since 4.22.2 has already been cut, and to the 4.18.6 section of the 4.18 guide. camel-4.18.x has no openSearchClient option, so the 4.18 note only names the client option. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Andrea Cosentino --- .../pages/camel-4x-upgrade-guide-4_18.adoc | 22 +++++++++++++++++ .../pages/camel-4x-upgrade-guide-4_22.adoc | 24 +++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc index a134fe1e65256..557ff2fb70ead 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc @@ -53,6 +53,28 @@ with another scheme or port, is now sent without them. A route that needs to aut address it in `httpUri`. When `proxyHost` is set, the `username` and `password` are no longer offered to the proxy when it asks for authentication. +=== camel-elasticsearch - the credentials are only sent to the nodes of the cluster + +The `user` and `password` are now offered only to the nodes the client talks to: the hosts of `hostAddresses` and, +when `enableSniffer` is set, the nodes the sniffer finds, matching the scheme, host and port. Previously they were +registered for any host. A request to another host, including the host of a node with another scheme or port, is now +sent without them. A client set with the `client` option is not changed. + +=== camel-elasticsearch-rest-client - the credentials are only sent to the nodes of the cluster + +The `user` and `password` are now offered only to the nodes the client talks to: the hosts of `hostAddressesList` and, +when `enableSniffer` is set, the nodes the sniffer finds, matching the scheme, host and port. Previously they were +registered for any host. A request to another host, including the host of a node with another scheme or port, is now +sent without them. A client set with the `restClient` option is not changed. + +=== camel-opensearch - the credentials are only sent to the nodes of the cluster + +The `user` and `password` are now offered only to the nodes the client talks to: the hosts of `hostAddresses` and, +when `enableSniffer` is set, the nodes the sniffer finds, matching the scheme, host and port. Every node of a +multi-host cluster still receives them. Previously they were registered for any host. A request to another host, +including the host of a node with another scheme or port, is now sent without them. A client set with the `client` +option is not changed. + === camel-telegram - webhook requests are verified with a secret token In webhook mode, Camel now registers the webhook with a secret token, which Telegram sends in the diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc index b452a29321774..4aef0965bab81 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_22.adoc @@ -11,6 +11,30 @@ Note that manual migration is still required. See the xref:camel-upgrade-recipes-tool.adoc[documentation] page for details. ==== +== Upgrading from 4.22.2 to 4.22.3 + +=== camel-elasticsearch - the credentials are only sent to the nodes of the cluster + +The `user` and `password` are now offered only to the nodes the client talks to: the hosts of `hostAddresses` and, +when `enableSniffer` is set, the nodes the sniffer finds, matching the scheme, host and port. Previously they were +registered for any host. A request to another host, including the host of a node with another scheme or port, is now +sent without them. A client set with the `client` option is not changed. + +=== camel-elasticsearch-rest-client - the credentials are only sent to the nodes of the cluster + +The `user` and `password` are now offered only to the nodes the client talks to: the hosts of `hostAddressesList` and, +when `enableSniffer` is set, the nodes the sniffer finds, matching the scheme, host and port. Previously they were +registered for any host. A request to another host, including the host of a node with another scheme or port, is now +sent without them. A client set with the `restClient` option is not changed. + +=== camel-opensearch - the credentials are only sent to the nodes of the cluster + +The `user` and `password` are now offered only to the nodes the client talks to: the hosts of `hostAddresses` and, +when `enableSniffer` is set, the nodes the sniffer finds, matching the scheme, host and port. Every node of a +multi-host cluster still receives them. Previously they were registered for any host. A request to another host, +including the host of a node with another scheme or port, is now sent without them. A client set with the `client` or +`openSearchClient` option is not changed. + == Upgrading from 4.22.1 to 4.22.2 === camel-lra - only an LRA hosted by the configured coordinator is joined