From 9751da6881a206622f4e1186020294417bb87a63 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Fri, 15 May 2026 12:24:38 +0200 Subject: [PATCH] CAMEL-23508: doc-sync 4.18 upgrade guide for camel-elasticsearch-rest-client header rename Signed-off-by: Andrea Cosentino --- .../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 40b6a94d92558..869887fb40fa2 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