This is an automated email from the ASF dual-hosted git repository.
oscerd 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 5926b3c668dd CAMEL-23508: doc-sync 4.18 upgrade guide for
camel-elasticsearch-rest-client header rename (#23246)
5926b3c668dd is described below
commit 5926b3c668ddd9fe05dcf96eb64ee762093cef48
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri May 15 15:36:47 2026 +0200
CAMEL-23508: doc-sync 4.18 upgrade guide for
camel-elasticsearch-rest-client header rename (#23246)
Signed-off-by: Andrea Cosentino <[email protected]>
---
.../ROOT/pages/camel-4x-upgrade-guide-4_18.adoc | 23 ++++++++++++++++++++++
1 file changed, 23 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 40b6a94d9255..869887fb40fa 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
@@ -177,6 +177,29 @@ to work without changes. Routes that set the header by its
literal string value
(for example `setHeader("JGROUPSRAFT_SET_TIMEOUT", ...)`) must be updated to
use the new value (`setHeader("CamelJGroupsRaftSetTimeout", ...)`).
+=== camel-elasticsearch-rest-client
+
+The Exchange header constants in `ElasticSearchRestClientConstant` have been
+renamed to follow the Camel naming convention used across the rest of the
+component catalog. The Java field names are unchanged; only the header string
+values have changed:
+
+[options="header"]
+|===
+| Constant | Previous value | New value
+| `ElasticSearchRestClientConstant.ID` | `ID` | `CamelElasticsearchId`
+| `ElasticSearchRestClientConstant.SEARCH_QUERY` | `SEARCH_QUERY` |
`CamelElasticsearchSearchQuery`
+| `ElasticSearchRestClientConstant.INDEX_SETTINGS` | `INDEX_SETTINGS` |
`CamelElasticsearchIndexSettings`
+| `ElasticSearchRestClientConstant.INDEX_NAME` | `INDEX_NAME` |
`CamelElasticsearchIndexName`
+| `ElasticSearchRestClientConstant.OPERATION` | `OPERATION` |
`CamelElasticsearchOperation`
+|===
+
+Routes that reference the constant symbolically (for example
+`setHeader(ElasticSearchRestClientConstant.SEARCH_QUERY, ...)`) continue to
+work without changes. Routes that set the header by its literal string value
+(for example `setHeader("SEARCH_QUERY", ...)`) must be updated to use the
+new value (`setHeader("CamelElasticsearchSearchQuery", ...)`).
+
== Upgrading from 4.18.0 to 4.18.1
=== camel-bom