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 38b21c924562 CAMEL-23515: docs - sync camel-nats 4.18 upgrade-guide
entry to main
38b21c924562 is described below
commit 38b21c9245624332ae155d88d9e3b5f40d1de02f
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon May 18 09:26:42 2026 +0200
CAMEL-23515: docs - sync camel-nats 4.18 upgrade-guide entry to main
The camel-nats HeaderFilterStrategy change was backported to camel-4.18.x
(#23250, merged). Per the project's backport upgrade-guide policy, the
version-specific camel-4x-upgrade-guide-4_18.adoc lives canonically on main
across all releases. This adds the matching === camel-nats section to that
guide on main so the canonical history does not drift from the maintenance
branch.
Docs-only; no code or build impact.
Closes #23252
---
.../modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc | 10 ++++++++++
1 file changed, 10 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 869887fb40fa..2dd75193e9d6 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
@@ -485,6 +485,16 @@ to the API specification.
All together this would make Camel behave similar for Rest DSL for both _code
first_ and _contract first_ style.
+=== camel-nats
+
+The default `headerFilterStrategy` is now a new `NatsHeaderFilterStrategy`
that filters headers
+starting with `Camel` / `camel` (case-insensitive) in both the inbound and
outbound directions,
+aligning the component with the rest of the Camel component catalog
(`camel-kafka`, `camel-mail`,
+`camel-coap`, `camel-google-pubsub`, ...). Routes that relied on passing
through these header
+names from NATS messages can supply a custom `headerFilterStrategy` to restore
the previous
+behaviour.
+
+
=== Component deprecation
The `camel-olingo2` and `camel-olingo4` component are deprecated.