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 9dc6a3398135 CAMEL-23575: docs - sync camel-mongodb-gridfs 4.18
upgrade-guide entry to main (#23477)
9dc6a3398135 is described below
commit 9dc6a3398135e9c4e66507437653a6e94bd7bf68
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri May 22 18:41:09 2026 +0200
CAMEL-23575: docs - sync camel-mongodb-gridfs 4.18 upgrade-guide entry to
main (#23477)
Adds the camel-mongodb-gridfs header-constant rename note to the
"Upgrading from 4.18.1 to 4.18.3" section of
camel-4x-upgrade-guide-4_18.adoc
on main, matching the backport to camel-4.18.x (#23473, cherry-pick of
Per the backport upgrade-guide policy, the version-specific upgrade-guide
files for all releases live on main as the canonical history; the entry
for the 4.18.3 release line must therefore be present here even though the
code fix is backported to the camel-4.18.x maintenance branch.
Reported by Claude Code on behalf of Andrea Cosentino.
Signed-off-by: Andrea Cosentino <[email protected]>
---
.../ROOT/pages/camel-4x-upgrade-guide-4_18.adoc | 25 ++++++++++++++++++++++
1 file changed, 25 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 8d86e6960dc4..34b682c91991 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
@@ -294,6 +294,31 @@ As a consequence, the generated Endpoint DSL header
accessors on
* `linkType()` -> `jiraLinkType()`
* `minutesSpent()` -> `jiraMinutesSpent()`
+=== camel-mongodb-gridfs
+
+The Exchange header values exposed by `GridFsConstants` have been renamed to
follow the standard
+Camel naming convention, bringing `camel-mongodb-gridfs` in line with the
parent `camel-mongodb`
+component (`MongoDbConstants.OPERATION_HEADER = "CamelMongoDbOperation"`). The
Java field names
+are unchanged, so routes referencing the constants symbolically
+(e.g. `GridFsConstants.GRIDFS_OPERATION`, `GridFsConstants.GRIDFS_OBJECT_ID`)
continue to work
+without modification. However, routes that set or read these headers using the
raw string values
+must be updated:
+
+* `gridfs.operation` -> `CamelGridFsOperation`
+* `gridfs.metadata` -> `CamelGridFsMetadata`
+* `gridfs.chunksize` -> `CamelGridFsChunkSize`
+* `gridfs.objectid` -> `CamelGridFsObjectId`
+* `gridfs.fileid` -> `CamelGridFsFileId`
+
+As a consequence, the generated Endpoint DSL header accessors on
`GridFsHeaderNameBuilder`
+have been renamed accordingly:
+
+* `gridfsOperation()` -> `gridFsOperation()`
+* `gridfsMetadata()` -> `gridFsMetadata()`
+* `gridfsChunksize()` -> `gridFsChunkSize()`
+* `gridfsObjectid()` -> `gridFsObjectId()`
+* `gridfsFileid()` -> `gridFsFileId()`
+
== Upgrading from 4.18.0 to 4.18.1
=== camel-bom