This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-4.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-4.22.x by this push:
     new 6a11050db4b4 [backport camel-4.22.x] CAMEL-28008: camel-rest - Rest 
DSL CORS does not allow credentials for the wildcard origin (#31228)
6a11050db4b4 is described below

commit 6a11050db4b41a1b53b496e95bce8ba940864794
Author: Guillaume Nodet <[email protected]>
AuthorDate: Wed Dec 2 08:54:12 2026 +0100

    [backport camel-4.22.x] CAMEL-28008: camel-rest - Rest DSL CORS does not 
allow credentials for the wildcard origin (#31228)
    
    Backport of #31212
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 .../rest/FromRestGetCorsAllowCredentialsTest.java  |   10 +-
 ...RestGetCorsAllowCredentialsWithOriginTest.java} |   46 +-
 .../camel/support/processor/RestBindingAdvice.java |   32 +-
 .../ROOT/pages/camel-4x-upgrade-guide-4_18.adoc    | 1650 ++++++++++++++++++++
 .../ROOT/pages/camel-4x-upgrade-guide-4_22.adoc    |    9 +
 .../modules/ROOT/pages/rest-dsl-binding.adoc       |    5 +
 6 files changed, 1705 insertions(+), 47 deletions(-)

diff --git 
a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetCorsAllowCredentialsTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetCorsAllowCredentialsTest.java
index 0c685941441e..98bee6b34f8c 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetCorsAllowCredentialsTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetCorsAllowCredentialsTest.java
@@ -26,6 +26,7 @@ import org.junit.jupiter.api.Test;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
+import static org.junit.jupiter.api.Assertions.assertNull;
 
 public class FromRestGetCorsAllowCredentialsTest extends ContextTestSupport {
 
@@ -57,7 +58,8 @@ public class FromRestGetCorsAllowCredentialsTest extends 
ContextTestSupport {
         assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_ALLOW_HEADERS,
                 out.getMessage().getHeader("Access-Control-Allow-Headers"));
         assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_MAX_AGE, 
out.getMessage().getHeader("Access-Control-Max-Age"));
-        assertEquals("true", 
out.getMessage().getHeader("Access-Control-Allow-Credentials"));
+        // credentials are not allowed with the origin *
+        
assertNull(out.getMessage().getHeader("Access-Control-Allow-Credentials"));
 
         assertMockEndpointsSatisfied();
     }
@@ -82,8 +84,10 @@ public class FromRestGetCorsAllowCredentialsTest extends 
ContextTestSupport {
         assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_ALLOW_HEADERS,
                 out.getMessage().getHeader("Access-Control-Allow-Headers"));
         assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_MAX_AGE, 
out.getMessage().getHeader("Access-Control-Max-Age"));
-        assertEquals("true", 
out.getMessage().getHeader("Access-Control-Allow-Credentials"));
-        assertEquals("mydomain", 
out.getMessage().getHeader("Access-Control-Allow-Origin"));
+        // the origin of the request is not sent back: no origin is 
configured, so it stays * without credentials
+        assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_ALLOW_ORIGIN,
+                out.getMessage().getHeader("Access-Control-Allow-Origin"));
+        
assertNull(out.getMessage().getHeader("Access-Control-Allow-Credentials"));
 
         assertMockEndpointsSatisfied();
     }
diff --git 
a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetCorsAllowCredentialsTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetCorsAllowCredentialsWithOriginTest.java
similarity index 53%
copy from 
core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetCorsAllowCredentialsTest.java
copy to 
core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetCorsAllowCredentialsWithOriginTest.java
index 0c685941441e..49c24cd56073 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetCorsAllowCredentialsTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetCorsAllowCredentialsWithOriginTest.java
@@ -21,13 +21,12 @@ import org.apache.camel.Exchange;
 import org.apache.camel.Processor;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.spi.Registry;
-import org.apache.camel.spi.RestConfiguration;
 import org.junit.jupiter.api.Test;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 
-public class FromRestGetCorsAllowCredentialsTest extends ContextTestSupport {
+public class FromRestGetCorsAllowCredentialsWithOriginTest extends 
ContextTestSupport {
 
     @Override
     protected Registry createCamelRegistry() throws Exception {
@@ -37,63 +36,32 @@ public class FromRestGetCorsAllowCredentialsTest extends 
ContextTestSupport {
     }
 
     @Test
-    public void testCorsWithoutOrigin() throws Exception {
-        // the rest becomes routes and the input is a seda endpoint created by
-        // the DummyRestConsumerFactory
+    public void testCorsWithConfiguredOrigin() throws Exception {
         getMockEndpoint("mock:update").expectedMessageCount(1);
 
         Exchange out = template.request("seda:post-say-bye", new Processor() {
             @Override
             public void process(Exchange exchange) {
+                exchange.getIn().setHeader("Origin", 
"https://other.example.com";);
                 exchange.getIn().setBody("I was here");
             }
         });
         assertNotNull(out);
 
-        assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_ALLOW_ORIGIN,
-                out.getMessage().getHeader("Access-Control-Allow-Origin"));
-        assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_ALLOW_METHODS,
-                out.getMessage().getHeader("Access-Control-Allow-Methods"));
-        assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_ALLOW_HEADERS,
-                out.getMessage().getHeader("Access-Control-Allow-Headers"));
-        assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_MAX_AGE, 
out.getMessage().getHeader("Access-Control-Max-Age"));
+        // credentials are allowed for the configured origin, and the origin 
of the request is not sent back
+        assertEquals("https://app.example.com";, 
out.getMessage().getHeader("Access-Control-Allow-Origin"));
         assertEquals("true", 
out.getMessage().getHeader("Access-Control-Allow-Credentials"));
 
         assertMockEndpointsSatisfied();
     }
 
-    @Test
-    public void testCorsWithOrigin() throws Exception {
-        // the rest becomes routes and the input is a seda endpoint created by
-        // the DummyRestConsumerFactory
-        getMockEndpoint("mock:update").expectedMessageCount(1);
-
-        Exchange out = template.request("seda:post-say-bye", new Processor() {
-            @Override
-            public void process(Exchange exchange) {
-                exchange.getIn().setHeader("Origin", "mydomain");
-                exchange.getIn().setBody("I was here");
-            }
-        });
-        assertNotNull(out);
-
-        assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_ALLOW_METHODS,
-                out.getMessage().getHeader("Access-Control-Allow-Methods"));
-        assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_ALLOW_HEADERS,
-                out.getMessage().getHeader("Access-Control-Allow-Headers"));
-        assertEquals(RestConfiguration.CORS_ACCESS_CONTROL_MAX_AGE, 
out.getMessage().getHeader("Access-Control-Max-Age"));
-        assertEquals("true", 
out.getMessage().getHeader("Access-Control-Allow-Credentials"));
-        assertEquals("mydomain", 
out.getMessage().getHeader("Access-Control-Allow-Origin"));
-
-        assertMockEndpointsSatisfied();
-    }
-
     @Override
     protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             @Override
             public void configure() {
-                
restConfiguration().host("localhost").enableCORS(true).corsAllowCredentials(true);
+                
restConfiguration().host("localhost").enableCORS(true).corsAllowCredentials(true)
+                        .corsHeaderProperty("Access-Control-Allow-Origin", 
"https://app.example.com";);
 
                 rest("/say/hello").get().to("direct:hello");
 
diff --git 
a/core/camel-support/src/main/java/org/apache/camel/support/processor/RestBindingAdvice.java
 
b/core/camel-support/src/main/java/org/apache/camel/support/processor/RestBindingAdvice.java
index 0984c85ffa85..90b70f9711ac 100644
--- 
a/core/camel-support/src/main/java/org/apache/camel/support/processor/RestBindingAdvice.java
+++ 
b/core/camel-support/src/main/java/org/apache/camel/support/processor/RestBindingAdvice.java
@@ -16,10 +16,12 @@
  */
 package org.apache.camel.support.processor;
 
+import java.util.Collections;
 import java.util.HashMap;
 import java.util.Locale;
 import java.util.Map;
 import java.util.Set;
+import java.util.WeakHashMap;
 
 import org.apache.camel.AsyncProcessor;
 import org.apache.camel.CamelContext;
@@ -55,6 +57,11 @@ public class RestBindingAdvice extends ServiceSupport 
implements CamelInternalPr
 
     private static final Logger LOG = 
LoggerFactory.getLogger(RestBindingAdvice.class);
 
+    // the CamelContexts that have logged the WARN of credentials with the 
origin *, so it is logged once per context
+    // and not once per rest operation
+    private static final Set<CamelContext> CORS_CREDENTIALS_WARNED = 
Collections.newSetFromMap(
+            Collections.synchronizedMap(new WeakHashMap<>()));
+
     private static final String STATE_KEY_DO_MARSHAL = "doMarshal";
     private static final String STATE_KEY_ACCEPT = "accept";
     private static final String STATE_JSON = "json";
@@ -147,6 +154,10 @@ public class RestBindingAdvice extends ServiceSupport 
implements CamelInternalPr
         this.clientResponseValidation = clientResponseValidation;
         this.enableCORS = enableCORS;
         this.corsHeaders = corsHeaders;
+        if (enableCORS && isCredentialsWithAnyOrigin(corsHeaders) && 
CORS_CREDENTIALS_WARNED.add(camelContext)) {
+            LOG.warn("CORS Access-Control-Allow-Credentials=true is ignored 
because Access-Control-Allow-Origin is *."
+                     + " Configure the allowed origin in the rest 
configuration to allow credentials.");
+        }
         this.queryDefaultValues = queryDefaultValues;
         this.queryAllowedValues = queryAllowedValues;
         this.requiredBody = requiredBody;
@@ -529,6 +540,17 @@ public class RestBindingAdvice extends ServiceSupport 
implements CamelInternalPr
         return first;
     }
 
+    /**
+     * Whether the CORS headers allow credentials with the origin * (the 
default origin when none is configured).
+     */
+    static boolean isCredentialsWithAnyOrigin(Map<String, String> corsHeaders) 
{
+        if (corsHeaders == null || 
!"true".equalsIgnoreCase(corsHeaders.get("Access-Control-Allow-Credentials"))) {
+            return false;
+        }
+        String allowOrigin = corsHeaders.get("Access-Control-Allow-Origin");
+        return allowOrigin == null || "*".equals(allowOrigin);
+    }
+
     private void setCORSHeaders(Exchange exchange) {
         // add the CORS headers after routing, but before the consumer writes 
the response
         Message msg = exchange.getMessage();
@@ -552,11 +574,11 @@ public class RestBindingAdvice extends ServiceSupport 
implements CamelInternalPr
         }
         String allowCredentials = corsHeaders != null ? 
corsHeaders.get("Access-Control-Allow-Credentials") : null;
 
-        // Restrict the origin if credentials are allowed.
-        // https://www.w3.org/TR/cors/ - section 6.1, point 3
-        String origin = exchange.getIn().getHeader("Origin", String.class);
-        if ("true".equalsIgnoreCase(allowCredentials) && 
"*".equals(allowOrigin) && origin != null) {
-            allowOrigin = origin;
+        // credentials are only allowed for the origins that are configured: 
the fetch spec does not allow them with
+        // the origin *, and the origin of the request is not sent back in its 
place (as platform-http-vertx and
+        // camel-a2a do), so with * the Access-Control-Allow-Credentials 
header is left out
+        if ("true".equalsIgnoreCase(allowCredentials) && 
"*".equals(allowOrigin)) {
+            allowCredentials = null;
         }
 
         msg.setHeader("Access-Control-Allow-Origin", allowOrigin);
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 1e2dcc1ac7a1..fd1e7e81182d 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
@@ -11,6 +11,1656 @@ Note that manual migration is still required.
 See the xref:camel-upgrade-recipes-tool.adoc[documentation] page for details.
 ====
 
+== Upgrading from 4.18.6 to 4.18.7
+
+=== Rest DSL - CORS credentials require a configured origin
+
+When CORS is enabled with `Access-Control-Allow-Credentials=true` 
(`corsAllowCredentials(true)`) and
+`Access-Control-Allow-Origin` is left at its default `*`, the response no 
longer echoes the `Origin` of the request
+and leaves out `Access-Control-Allow-Credentials`. Camel logs a WARN when the 
routes start. To allow credentials,
+configure the allowed origin, for example 
`corsHeaderProperty("Access-Control-Allow-Origin", "https://app.example.com";)`.
+
+=== camel-ftp, camel-mina-sftp, camel-jsch, camel-azure-files - the starting 
directory check resolves a name as a server does
+
+The check that a file is in the starting directory 
(`jailStartingDirectory=true`, the default, for a producer, and the
+same check of a consumer) now resolves the `.` and `..` segments of a name the 
way a server does, and refuses a name
+with a `..` segment that goes above the start of the name, also when the 
endpoint has no directory or its directory is
+the root (`/`). A name that starts like a scheme or a drive, such as `http:`, 
`file:` or `C:`, is resolved like any
+other name. For example, a producer without a directory now refuses 
`/../report.txt`, which a server wrote as
+`/report.txt`. The exchange fails with an `IllegalArgumentException` stating 
that the filename is jailed to the starting
+directory. Remove the `..` segments from such a name.
+
+=== camel-ftp, camel-mina-sftp, camel-jsch, camel-azure-files - a file name 
with both a backslash and a `..` segment is refused in some configurations
+
+With `jailStartingDirectory=true` (the default), a producer now refuses a file 
name that has both a backslash and a
+`..` segment, such as `sub\..\report.txt`, when the `separator` option is 
`Windows` or `Auto`, when the producer
+writes a temp file (`tempPrefix` or `tempFileName`) or a done file 
(`doneFileName`), or when `checksumFileAlgorithm` is
+set (with `checksumWriteFile` at its default, `true`). Where such a name goes 
depends on the server and on the platform
+that Camel runs on. The exchange fails with an `IllegalArgumentException` 
stating that the filename is jailed to the
+starting directory. With the default options, the producer replaces each 
backslash by `/` and writes such a name as
+before. Remove the backslashes or the `..` segments from the name.
+
+=== camel-ftp, camel-mina-sftp - a stepwise recursive poll skips a listed 
directory whose name is not one name
+
+A recursive consumer with `stepwise=true` (the default) changes into each sub 
directory by its name, and back to its
+parent afterwards. It now skips a directory from the listing of the server 
whose name is blank, `.` or `..`, or has a
+`/` or a `\` (other than a trailing `/`), and logs it at DEBUG level, as such 
a name would leave the poll in another
+directory than the one it lists. With 
`handleDirectoryParserAbsoluteResult=true` (ftp and ftps), the last name of the
+path that the server lists is checked. A backslash is a valid character in the 
name of a directory on a server on
+Linux: to poll such a directory, set `stepwise=false`.
+
+=== camel-fop - the CamelFop.Render and CamelFop.Encrypt headers are applied 
as given
+
+The `fop` producer now applies only the `CamelFop.Render.*` and 
`CamelFop.Encrypt.*` headers that the
+xref:components::fop-component.adoc[FOP] component page lists, and uses their 
values as given, converted to the type
+of the option. Before, these headers were bound onto the FOP user agent and 
the PDF encryption parameters like
+endpoint options, so a value with `{{` `}}` or a value that starts with `#` 
was resolved as a property placeholder or
+a bean reference, and any property of these objects could be set. A route that 
needs a property placeholder or a bean
+in such a header resolves it before the `fop` endpoint, for example with the 
Simple language. Other names are ignored,
+and a WARN is logged. Set other FOP user agent settings in the FOP 
configuration file (`userConfigURL`) or on a
+custom `FopFactory`.
+
+=== camel-azure-eventgrid, camel-azure-servicebus, camel-azure-eventhubs - a 
DefaultAzureCredential set as tokenCredential is used
+
+With `credentialType` `AZURE_IDENTITY`, which these components also choose 
when the `tokenCredential` option is a
+`DefaultAzureCredential`, the clients now authenticate with the configured 
`tokenCredential` instance. Before, they
+built a new `DefaultAzureCredential` with the default settings, so a 
credential built with
+`managedIdentityClientId(...)`, `tenantId(...)` or other settings was not 
used. Without `tokenCredential`,
+`AZURE_IDENTITY` still builds a new `DefaultAzureCredential`. In 
camel-azure-eventgrid, an explicit `credentialType`
+`TOKEN_CREDENTIAL` or `AZURE_IDENTITY` is no longer replaced when 
`tokenCredential` is set. In camel-azure-servicebus
+and camel-azure-eventhubs on 4.18.x, the components still choose the 
`credentialType` from `tokenCredential` when it
+is set, also over an explicit `credentialType`: `AZURE_IDENTITY` for a 
`DefaultAzureCredential` and
+`TOKEN_CREDENTIAL` for any other credential. Both use the `tokenCredential` 
instance.
+
+== Upgrading from 4.18.5 to 4.18.6
+
+=== camel-aws2-sns - string array message attributes
+
+String values in list-valued message headers are now JSON-escaped when mapped 
to SNS
+`String.Array` message attributes. Quotes, backslashes and control characters 
are preserved
+as string data. Routes should supply the original strings rather than 
pre-escaping them.
+Other member types, such as enums, characters, UUIDs and dates, are serialized 
as JSON strings.
+Non-finite floating-point values (`NaN` and infinities) are also serialized as 
strings; finite numbers,
+booleans and null remain JSON primitives.
+The JSON utility also escapes forward slashes and some Unicode characters, so 
raw `String.Array`
+attribute text may differ even when its decoded string values are unchanged.
+
+=== camel-as2 - server/listen - signature and MIC over the message as received
+
+The signature of a `multipart/signed` message is now verified over the signed 
part exactly as it was received, its
+MIME headers and its body in the transfer encoding the sender used (RFC 1847, 
section 2.1), and the `Received-Content-MIC`
+of the MDN is computed over the same bytes (RFC 4130, section 7.1). Previously 
both were computed over a
+re-serialisation of the parsed part, which matches the sender's bytes only 
when the part is `binary`, `7bit` or
+`8bit` and its headers are formatted the way camel-as2 writes them: a `base64` 
or `quoted-printable` part from another
+AS2 implementation, encoded with a different line length or escaping, or a 
part with folded headers or no space after
+the colon, was refused with `authentication-failed` although correctly signed, 
and the MDN carried a MIC the sender
+could not match. Messages from camel-as2's own client are not affected. 
`MultipartSignedEntity.getSignedDataRaw()`
+returns the part as received, `getSignedDataContent()` the bytes a signature 
is verified against.
+
+The text of a body part now ends exactly where the boundary delimiter begins: 
the line break before the delimiter
+line is removed as the sender wrote it, CRLF or a bare LF. Before, two 
characters were always removed, so a part
+framed with bare line feeds (as `openssl cms -sign` writes them without 
`-crlfeol`) lost its last byte.
+
+=== camel-as2 - the asynchronous MDN allow-list matches the host and port
+
+The `asyncMdnAllowedHosts` option now matches the full authority - host and 
port - of the asynchronous MDN delivery
+address, rather than the host alone. Each entry is a host with an optional 
port in `host:port` form (IPv6 literals use
+bracket notation, for example `[::1]` or `[::1]:8080`). A bare-host entry (for 
example `partner.example`) now matches
+only the default port of `http` (80); to deliver to another port, list it 
explicitly (for example
+`partner.example:8080`).
+
+A deployment that lists a bare host and receives asynchronous MDNs on a 
non-default port must add the port to the entry.
+
+=== camel-atmosphere-websocket - events carry the query parameters of their 
own connection
+
+With the `events` init-param of `CamelWebSocketServlet` set to `true`, the 
open, close and error event exchanges now carry
+the query parameters of the request that opened their websocket connection, 
with the names and values URL-decoded.
+This is also the case with the JSR 356 transport, which Atmosphere uses on 
current servlet containers, where the
+parameters of the connection did not reach its events before. Before, the 
event headers came from the last HTTP request
+that the servlet handled for the endpoint, and their values were not 
URL-decoded, so a route that used these headers
+can see different values. `WebsocketConsumer.sendEventNotification` takes the 
query parameters of the connection as a
+third argument.
+
+The query string of a request is also read more leniently: a parameter without 
a value (`?foo` or `?foo=`) gets an empty
+value, and a value that contains `=` is kept whole. Before, such a parameter 
made the request fail, and a value was cut at
+the first `=` it contained.
+
+=== camel-azure-eventhubs - per-partition checkpoint counters and timer; 
checkpoint window boundary fix
+
+Several fixes from 4.22.x have been brought forward to 4.18.6 to give this 
change a sound base.
+
+`checkpointBatchSize` and `checkpointBatchTimeout` now count events per 
partition, not across all
+partitions. Each partition has its own `AtomicInteger` counter and its own 
`ScheduledFuture` timer.
+A checkpoint on one partition no longer resets the count of another. Before 
this change, the shared
+counter mixed events across partitions, so the batch size was reached across 
all partitions combined
+and a checkpoint on a busy partition could reset the count for a quiet one.
+
+The `CamelAzureEventHubsCheckpointUpdatedBy` header can now be `timeout`. With 
`checkpointBatchTimeout`,
+the consumer now starts a new checkpoint window when the timer of the current 
window has run, and no
+longer when the wall clock passes the time the timer was scheduled for. 
Before, an event that completed
+in the millisecond in which the timer ran (or while the timer was taking the 
count) was counted in the
+window whose count had already been taken: it was checkpointed only with the 
next event, and when the
+partition stayed quiet it was delivered again after a restart. Routes that 
read this header may now see
+`timeout` more often.
+
+Checkpoint failures from the timer are now logged at `WARN` level with the 
full stack trace instead of
+at `DEBUG` level with the message only. Checkpoint failures triggered by batch 
size are still logged at
+`WARN`.
+
+=== camel-clickup - the webhook signature check no longer logs signatures
+
+The webhook consumer still logs the body it validates at `DEBUG`, but no 
longer the signature from the `X-Signature` header, nor the signature it 
calculates.
+The `InvalidMessageSignatureException` of a failed check no longer carries the 
calculated signature: `getCalculatedSignature()` returns `null` and is 
deprecated, as is the constructor that takes it.
+
+=== camel-core - XmlConverter SAX parser factory
+
+`XmlConverter.createSAXParserFactory()` now also disables external parameter 
entities and external
+DTD loading:
+
+* `http://xml.org/sax/features/external-parameter-entities` = `false`
+* `http://apache.org/xml/features/nonvalidating/load-external-dtd` = `false`
+
+It previously set only `FEATURE_SECURE_PROCESSING` and 
`external-general-entities=false`, while
+`createDocumentBuilderFactory()` in the same class already blocked external 
resource resolution more
+thoroughly.
+
+Documents carrying an internal DTD subset still parse. Routes that genuinely 
need to resolve
+an external DTD or parameter entity through this converter must supply their 
own
+`SAXParserFactory`.
+
+=== camel-file - idempotent consumer with an idempotent read lock
+
+With `idempotent=true` (or `noop=true`) and `readLock=idempotent`, 
`idempotent-changed` or `idempotent-rename`, the
+file consumer no longer adds the key to the idempotent repository eagerly, and 
`idempotentEager` does not apply: the
+read lock adds it when it acquires the lock. Since Camel 4.7 the read lock was 
refused, and such a consumer never
+consumed a file.
+
+=== camel-ftp - sftp uses remote file and directory names as given
+
+The `sftp` component now uses a remote file or directory name exactly as 
given, also when it contains `*` or `?`.
+Before, the JSch library read `*` and `?` in the name as wildcards, so 
storing, retrieving, deleting, renaming, listing
+or changing to a directory could resolve the name to another file or directory 
whose name matched. If you relied on a
+wildcard to select a file, use the real name of the file in the producer, and 
the `include` or `antInclude` option of a
+consumer that lists the directory instead of a wildcard in `fileName` with 
`useList=false`. See the
+xref:components::sftp-component.adoc[SFTP component].
+
+=== camel-ftp - ftp and ftps refuse a file or directory name with a carriage 
return or a line feed
+
+The `ftp` and `ftps` components now refuse a remote file or directory name 
with a carriage return or a line feed, with
+a `GenericFileOperationFailedException`, before they send any command to the 
server for it. This applies to the name
+the producer writes (the `CamelFileName` header, `tempFileName`, 
`doneFileName` and `moveExisting`), to the directories
+it creates or changes to, and to the names the consumer retrieves, deletes, 
renames or lists.
+
+The FTP control connection sends one command per line, so such a name cannot 
be sent as one command. Before, the server
+got the name cut at the line break: the operation failed or acted on another 
file, and the replies of the later
+commands on that connection could get out of step. Remove or replace these 
characters in the name before the producer.
+The `sftp` component is not affected. See the 
xref:components::ftp-component.adoc[FTP component].
+
+=== camel-file - jailStartingDirectory resolves symbolic links
+
+With `jailStartingDirectory` enabled (the default), the file consumer and 
producer now resolve symbolic links when
+checking that a file stays within the starting directory. The consumer skips a 
file or (with `recursive=true`) a
+directory that is a link resolving outside of it, and the producer fails to 
write through such a link or a dangling
+link. Links resolving inside the starting directory work as before. Set 
`jailStartingDirectory=false` to keep following
+links to other directories (this also turns off the check of `../` in producer 
file names). A skipped file is logged
+at WARN the first time and at DEBUG on later polls; this log-level change also 
applies to the remote file consumers,
+which keep their existing lexical check.
+
+=== camel-file - the consumer skips a file it would move through a symbolic 
link resolving outside the starting directory
+
+With `jailStartingDirectory` enabled (the default), the file consumer now 
resolves symbolic links on the targets of
+`preMove`, `move` and `moveFailed`, including the default `.camel` folder. It 
checks these targets before the file is
+processed. When a target is inside the starting directory but resolves outside 
of it through a link, the consumer skips
+the file. It logs a WARN the first time. The file is not processed and not 
moved, and it stays in the folder. Before,
+the existing target was deleted and the file was moved wherever the link 
pointed. A target that depends on what the
+route sets can only be checked when the file is moved. Such a move fails, and 
the file is consumed again on the next
+poll.
+
+The file producer now refuses to delete or rename onto a file through such a 
link. This covers `fileExist=Move` with
+`moveExisting`, and the rename of a file written with `tempFileName`. The 
write fails.
+
+The expressions of `preMove`, `move` and `moveFailed` are evaluated before the 
file is processed, so each of them is
+evaluated one extra time per file: for a file processed without error, `move` 
is now evaluated twice and `moveFailed`
+once, where before `move` was evaluated once and `moveFailed` not at all. This 
matters for an expression with side
+effects, such as a bean that hands out a sequence number. The default `.camel` 
folder has no expression to evaluate.
+
+Targets configured outside the starting directory (such as `move=../archive`) 
and links resolving inside it work as
+before. A deployment that links one of these folders to another directory on 
purpose, such as `.camel` on another
+volume, should point the option at the folder the link resolves to, such as 
`move=/mnt/volume2/${file:name}`, as a
+target configured outside the starting directory is not checked. Setting 
`jailStartingDirectory=false` also keeps
+following those links, but then the consumer also reads a file in the starting 
directory that is a link to a file
+outside of it, and the producer writes through such links.
+
+=== camel-wordpress - each endpoint uses its own site URL and credentials
+
+Each WordPress endpoint now has a client of its own, set up from the `url`, 
`apiVersion`, `user` and `password`
+options of that endpoint, and the producers and consumers of the endpoint use 
that client. The endpoints no longer
+initialise the `WordpressServiceProvider.getInstance()` singleton; the 
singleton and its `init` methods are still
+there, unchanged, for code that sets it up itself. Code that read services from
+`WordpressServiceProvider.getInstance()` after Camel created a WordPress 
endpoint must now use
+`WordpressEndpoint.getServiceProvider()`, or create a provider with
+`WordpressServiceProvider.create(WordpressAPIConfiguration)`.
+
+=== camel-hazelcast - the hazelcast-seda consumer restores a transferred 
exchange only with transferExchange=true
+
+A `hazelcast-seda` consumer now restores the headers and exchange properties 
of an exchange that a producer with
+`transferExchange=true` put on the queue only when the consumer has 
`transferExchange=true` as well. A consumer without
+the option, the default, now takes only the body of such an exchange, as it 
does for any other item of the queue, and
+logs a warning the first time. Before, the consumer restored the headers and 
exchange properties whatever its
+`transferExchange` option said.
+
+Set `transferExchange=true` on both the producer and the consumer endpoints to 
keep transferring the headers and
+exchange properties.
+
+=== camel-jaxb - the part class and namespace headers are used only when 
allowed
+
+The JAXB data format has a new option `allowPartClassFromHeader` (default 
`false`). The `CamelJaxbPartClass` and
+`CamelJaxbPartNamespace` headers are now used only when this option is `true`; 
otherwise they are ignored, and the
+`partClass` and `partNamespace` options of the data format apply. Before, the 
headers were always used, and took
+precedence over these options.
+
+With `allowPartClassFromHeader=true`, the headers now apply to their own 
message only. Before, a header also changed
+the `partClass` and `partNamespace` of the data format, so later messages 
without the header used the class or
+namespace of an earlier message.
+
+Routes that set these headers to choose the part class or namespace per 
message must enable the option, for example
+`jaxb.setAllowPartClassFromHeader(true)` in Java, 
`allowPartClassFromHeader="true"` on `<jaxb>` in XML, or
+`allowPartClassFromHeader: true` in YAML. With REST binding, set the data 
format property
+`xml.out.allowPartClassFromHeader=true` on the REST configuration for a REST 
service (the response), or
+`xml.in.allowPartClassFromHeader=true` for the `rest` producer (the request).
+
+The SOAP data format (camel-soap) is built on the JAXB data format, and always 
ignores these headers.
+
+=== camel-lra - only an LRA hosted by the configured coordinator is joined
+
+The LRA saga service now joins, completes or compensates an LRA only when its 
URL is under the configured LRA
+coordinator (`coordinatorUrl` followed by `coordinatorContextPath`). A message 
whose `Long-Running-Action` header holds
+the URL of another coordinator now fails, instead of the saga service calling 
that URL.
+
+If your participants reach the same coordinator under different URLs, for 
example with different host names, list the
+other coordinator URLs, including the context path, in the new 
`allowedCoordinatorUrls` option
+(`camel.lra.allowedCoordinatorUrls`).
+
+This also applies to the LRAs the service starts itself: when the coordinator 
returns LRA URLs under another base URL
+than `coordinatorUrl`, for example behind a proxy, starting a saga fails until 
that base URL is added to
+`allowedCoordinatorUrls`.
+
+=== camel-lra - warning for unsigned participant callbacks, and reserved saga 
option names
+
+The LRA saga service now logs a warning at startup when no `callbackSecret` is 
configured: the callbacks that the LRA
+coordinator sends to the participant endpoints are then not verified, so these 
endpoints must only be reachable by the
+coordinator. The Saga EIP documentation describes how to sign them.
+
+A saga option named like a parameter of the participant callback URLs, in any 
case (`Camel-Saga-Compensate`,
+`Camel-Saga-Complete`, `Camel-Saga-Signature` or `Camel-Saga-Lra`), now fails 
the creation of its route, with or
+without a callback secret. The value of such an option could not be read back 
from the callback before.
+
+=== camel-ssh - known_hosts entries are matched as in OpenSSH
+
+When `knownHostsResource` is set, the entries of the `known_hosts` file are 
now matched as OpenSSH
+matches them, against the host name or address the client connects to, written 
`host` for port 22 and
+`[host]:port` for another port:
+
+* A host pattern must match that name as a whole. An entry for another host 
whose name or address
+contains the configured one is no longer used.
+* A pattern such as `db.example.com` only applies to port 22. A server on 
another port needs an entry
+such as `[db.example.com]:2222`, or a pattern that matches that form, such as 
`*`.
+* The host is used as it is written: the host configured on the endpoint, or 
the `HostName` that
+`~/.ssh/config` gives for it. An endpoint configured with a host name no 
longer uses entries listed
+only under its address, an endpoint configured with an address no longer uses 
entries listed under the
+name that a reverse lookup of the address returns, and an IPv6 address such as 
`::1` is matched as
+written instead of in its expanded form.
+* Every entry of the host is considered, so a host can be listed with several 
keys. Wildcard, negated
+and hashed patterns, comments and `@revoked` entries are supported. 
`@cert-authority` entries are
+ignored.
+* A `known_hosts` resource that cannot be read, or that has a line that cannot 
be read (for example an
+unknown `@` marker, a missing key, or a key that is not valid base64), now 
makes every connection fail,
+whatever the value of `failOnUnknownHost`. Previously such a resource was 
treated as having no entry,
+and such a line was skipped.
+
+As before, a server whose host has entries without a marker is rejected when 
it presents a key that
+none of them lists, whatever the value of `failOnUnknownHost`, which only 
applies to a host without
+such an entry: `@revoked` and `@cert-authority` entries do not list a host.
+Check that the `known_hosts` file has an entry for the host name or address, 
and the port, that each
+endpoint is configured with.
+
+=== camel-google-calendar-stream
+
+With `syncFlow=false` and `considerLastUpdate=true`, the consumer now follows 
all result pages in each poll.
+Previously it only read the first page, which could prevent later events from 
ever being delivered.
+In this mode, `maxResults` controls the API page size; a poll can now deliver 
more events than this value.
+Non-sync polling with `considerLastUpdate=false` continues to read only one 
page per poll.
+
+=== camel-google-mail, camel-google-drive, camel-google-calendar, 
camel-google-sheets - one API client per endpoint
+
+The `google-mail`, `google-mail-stream`, `google-drive`, `google-calendar`, 
`google-calendar-stream`, `google-sheets`
+and `google-sheets-stream` components now create one API client per endpoint, 
from the options of that endpoint
+(`clientId`, `clientSecret`, `refreshToken`, `accessToken`, 
`serviceAccountKey`, `delegate`, `scopes` and
+`applicationName`, plus `emailAddress`, `p12FileName` and `user` on the two 
calendar components), instead of a single
+client per component that every endpoint of the component shared. Each 
endpoint keeps its client for its lifetime. The
+`clientFactory` option of a `google-drive` endpoint is now used to create the 
client of that endpoint. In addition, a
+`google-mail-stream` endpoint configured with neither `clientSecret` nor 
`serviceAccountKey` now fails with an
+`IllegalArgumentException` when its client is created, instead of getting a 
`null` client and failing at the first API
+call.
+
+=== camel-netty-http - the roles of a security constraint are matched by role 
name
+
+The roles of a `SecurityConstraintMapping` inclusion are a comma-separated 
list of role names, and an authenticated
+user is now accepted only when one of their roles is equal to one of those 
names. The comparison is case-sensitive,
+whitespace around each name and blank entries are ignored, and a value of `*` 
still accepts any role. A roles value
+that uses another separator, such as `admin;guest` or `admin guest`, must be 
changed to `admin,guest`.
+
+=== camel-graphql - the credentials are only sent to the authority of httpUri
+
+The `accessToken` (with its `jwtAuthorizationType`) is now added to a request 
only when the request goes to the
+scheme, host and port of `httpUri`, and the `username` and `password` are 
registered for that authority only.
+Previously neither was bound to the authority of `httpUri`. A request to 
another authority, including the same host
+with another scheme or port, is now sent without them. A route that needs to 
authenticate to another authority must
+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-elasticsearch-rest-client - the document id and the index name are 
each sent as one path segment
+
+The producer now percent-encodes the document id and the index name, so each 
is sent as one path segment of the
+request and Elasticsearch takes it literally. Before, they were placed into 
the path as given: a `/`, `?` or `#` in
+the value changed the path of the request, and a space or a `%` made the 
request fail. A route that put extra path
+segments or request parameters into the document id or the index name must 
change.
+
+A document id of `.` or `..` is now rejected, as is an index name that is 
empty, `.` or `..`, or that contains `\`,
+`/`, `?`, `"`, `<`, `>`, `|`, `#` or a space. A comma separated list of index 
names and patterns, such as
+`logs-*,my_index`, still works. A `GET_BY_ID` response without the source of 
the document now gives a `null` body
+instead of failing with a `NullPointerException`.
+
+=== 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
+`X-Telegram-Bot-Api-Secret-Token` header of every webhook request, and rejects 
a webhook request that does not carry
+the token with HTTP 403. The token is the value of the new 
`webhookSecretToken` option or, when that option is not
+set, a value derived from the authorization token. A client that calls the 
webhook endpoint directly, for example in
+a test, must send the header too.
+
+When Camel registers the webhook at startup (`webhookAutoRegister=true`, the 
default), nothing needs to change: each
+upgraded instance registers the webhook with the token, and the instances that 
are not upgraded yet ignore the header.
+
+When the webhook is registered in another way, through the 
`WebhookRoutePolicy` or outside Camel, the registration
+made with the previous version has no secret token, and the upgraded instances 
reject every update until the webhook
+is registered again with it. Register the webhook again first, then upgrade 
the instances that receive the updates:
+instances of the previous version ignore the header. With the 
`WebhookRoutePolicy`, run the registration with the new
+version. Outside Camel, set `webhookSecretToken`, and pass the same value as 
the `secret_token` parameter of
+`setWebhook`.
+
+The default webhook path is a hash of the endpoint URI, so adding an option to 
the URI, such as `webhookSecretToken`,
+changes the path. When the webhook is not registered by Camel at startup, set 
`webhookPath` to keep the path that is
+registered.
+
+To restore the previous behaviour, set `webhookSecretTokenEnabled=false`: the 
webhook is then registered without a
+secret token, and webhook requests are not verified.
+
+=== camel-whatsapp - webhook events are verified by default
+
+In webhook mode (`webhook:whatsapp:...`), the `X-Hub-Signature-256` signature 
of every event that WhatsApp posts is now
+verified with the `webhookSecret` option (added in 4.18.3), the app secret 
from the Meta app dashboard. Before, the
+signature was only verified when `webhookSecret` was set. A webhook route 
without `webhookSecret` now fails to start.
+Set `webhookSecret` to the app secret, or set the new `webhookVerification` 
option to `false` to accept the events
+without verifying their signature, for example in development. An event 
without a valid signature is answered with HTTP
+403 and does not reach the route. A client that posts events to the webhook 
endpoint directly, for example in a test,
+must sign them too.
+
+An event that reaches the route is now answered with HTTP 200 and an empty 
body. Before, the reply carried the event
+back to the caller. The reply to the verification request (`GET`) is still the 
`hub.challenge`.
+
+=== camel-thrift - SSL/TLS settings of the consumer, and errors sent to the 
client
+
+* A consumer configured with `negotiationType=SSL` and the default 
`synchronous=false` now fails to start. It used to
+start a server without SSL/TLS. SSL/TLS requires `synchronous=true`, as on the 
producer.
+* The `SASL` negotiation type, which is not implemented, now makes the 
producer and the consumer fail to start. They
+used to behave as with `PLAINTEXT`.
+* The SSL/TLS consumer now creates its server socket from the SSL context of 
`sslParameters`, so all of its settings
+apply, including the trust managers and the server parameters. For example, 
`serverParameters.clientAuthentication=REQUIRE`
+now requires a client certificate. Before, the consumer only used the key 
store, the protocol and the cipher suites,
+and never asked for a client certificate. The key managers are required, and 
as in the other components the key is
+read with their `keyPassword`: set it when the key is protected by a password. 
Before, the consumer read the key with
+the password of the key store.
+* A new `muteException` consumer option, enabled by default, sends a generic 
`TApplicationException` of type
+`INTERNAL_ERROR` ("Internal error processing <method>") to the client instead 
of an exception that the Thrift method
+does not declare. Before, the asynchronous consumer sent the message of the 
exception. An exception declared in the
+IDL is still sent as it is. Set `muteException=false` to send the exception as 
before.
+
+=== camel-netty - errors sent to the client
+
+A new `muteException` consumer option, enabled by default, makes a consumer 
with `sync=true` write a generic exception
+(`java.lang.Exception` with the message `Exchange processing failed` and no 
stack trace) back to the client when the
+exchange failed, instead of the exception of the route. With `textline=true` 
the client now receives the line
+`java.lang.Exception: Exchange processing failed`, where it used to receive 
the class name and the message of the
+exception of the route. With an encoder that accepts any object, the 
serialised exception no longer carries the class,
+message, cause or stack trace of the exception of the route. Set 
`muteException=false` to write the exception as before.
+`transferExchange=true` is not affected.
+
+=== camel-netty - with transferExchange the consumer keeps its own connection 
headers
+
+With `transferExchange=true` the connection headers `CamelNettyRemoteAddress`, 
`CamelNettyLocalAddress`,
+`CamelNettyChannelHandlerContext`, `CamelNettySSLSession` and the 
`CamelNettySSLClientCert*` headers (and the
+`CamelNettyRemoteAddress` and `CamelNettyChannel` exchange properties) are now 
always the ones of the receiving side:
+the connection it accepted is the source of truth. Before, the headers of the 
transferred exchange replaced them. Such
+a header in the transferred exchange is no longer used, also when the 
receiving side has no value for it (for example
+the `CamelNettySSLClientCert*` headers on a connection without a client 
certificate). This also applies to the reply
+the producer receives. Send any such value of the sender under a header name 
of your own.
+
+=== camel-netty - transferExchange requires explicit endpoint configuration
+
+`NettyPayloadHelper` now checks `transferExchange=true` on the endpoint 
configuration before reconstructing exchange data from a 
`DefaultExchangeHolder` payload.
+
+Before, a receiver with an object decoder silently reconstructed the exchange 
even when `transferExchange=false`. Now, when `transferExchange` is disabled 
(the default), the incoming `DefaultExchangeHolder` is left as an opaque body 
(both on the consumer side and for the producer's reply via `setOut`).
+
+In addition, the legacy two-argument methods 
`NettyPayloadHelper.setIn(Exchange, Object)` and `setOut(Exchange, Object)` are 
deprecated and no longer unmarshal `DefaultExchangeHolder` payloads. Callers 
should migrate to the three-argument overloads passing the `NettyEndpoint`.
+
+=== camel-mina - the producer closes its session when a request times out
+
+A synchronous `mina` producer (`sync=true`) now always closes its session when 
a request times out while waiting for a
+reply. Because a synchronous producer is pooled and reused for later 
exchanges, a session kept open after a timeout
+could receive the late reply to the timed-out exchange and hand it to the next 
exchange that reused the same producer.
+The producer now discards that session, so the next exchange opens a fresh one.
+
+The default behaviour is unchanged: `disconnectOnNoReply` defaults to `true`, 
which already closed the session on a
+timeout. Setting `disconnectOnNoReply=false` no longer keeps the producer 
session open after a timeout.
+
+=== camel-oaipmh - the CamelOaimphOnlyFirst and CamelOaimphIgnoreSSLWarnings 
headers apply to their message only
+
+The `CamelOaimphOnlyFirst` and `CamelOaimphIgnoreSSLWarnings` headers now 
apply only to the message that has them.
+Before, the producer wrote them onto the endpoint, so after one message with 
such a header every later message sent to
+that endpoint used its value too. A message without the header uses the 
`onlyFirst` and `ignoreSSLWarnings` options of
+the endpoint. A route that relied on a header value carrying over to later 
messages must set the header on each
+message, or set the option on the endpoint URI.
+
+=== camel-oauth - the bearer token processor is stateless and reads the HTTP 
request headers
+
+`OAuthBearerTokenProcessor` no longer creates or updates the OAuth session, 
and no longer sets the
+`camel.oauth.session` cookie nor the `CamelOAuthSessionId` header: a bearer 
token authenticates the request that
+carries it, and nothing else. The authenticated `UserProfile` is available in 
the `CamelOAuthUserProfile` exchange
+property (`OAuth.CAMEL_OAUTH_USER_PROFILE`). A route that read the profile 
from the OAuth session after
+`OAuthBearerTokenProcessor` must read it from that exchange property instead.
+
+When the message comes from platform-http (on Vert.x or on Spring Boot), from 
a servlet based HTTP consumer
+(camel-servlet, camel-jetty) or from camel-netty-http, the bearer token and 
the session cookie are now read from the
+`Authorization` and `Cookie` headers of the HTTP request only. A query or form 
parameter of the same name, which these
+consumers also map into the message headers, is no longer used for them, and 
neither is an `Authorization` or `Cookie`
+message header that the route sets itself. For example
+`+.setHeader("Authorization", simple("Bearer 
${header.X-Forwarded-Access-Token}"))+` before
+`OAuthBearerTokenProcessor` now results in a 401 response. A route that takes 
the token from elsewhere can
+authenticate it itself, with `authenticate(new TokenCredentials(token))` on 
the `OAuth` instance that
+`OAuthFactory.lookupFactory(context).findOAuth()` returns.
+
+For any other message, such as one from camel-undertow, the processors keep 
reading the message headers, but leave out
+a value that also appears in the query string of the request.
+
+=== camel-smooks - allowExternalEntities applies to Smooks Source bodies and 
to a reader declared without a class
+
+The Smooks component and `SmooksProcessor` now parse a message body that is 
already a Smooks `Source`
+(`org.smooks.io.source.StringSource`, `ReaderSource`, `StreamSource`, 
`ByteSource` or `URLSource`) with the same XML
+reader settings as the other message bodies, so external entities in it are 
only resolved when `allowExternalEntities`
+is `true`. Before, such a body was handed to Smooks as it was. The bytes of a 
`StreamSource`, `ByteSource` or
+`URLSource` are decoded with the exchange charset, or UTF-8, as before. These 
bodies are now parsed into a DOM before
+Smooks processes them, which uses more memory for very large inputs. 
`DOMSource` and `JavaSource` bodies are unchanged.
+
+A Smooks configuration whose `<reader>` declares no `class` only sets 
handlers, features or parameters of the default
+XML reader. The Smooks component, `SmooksProcessor` and the Smooks data format 
now apply `allowExternalEntities` to
+such a configuration as they do to a configuration without a `<reader>`, so 
the handlers and features of that reader no
+longer take part in parsing the XML unless `allowExternalEntities` is `true`. 
Configurations that declare a reader
+class, such as EDI, CSV, JSON, DFDL or a custom reader, are unchanged.
+
+A document with a document type declaration (`<!DOCTYPE ...>`) is now 
processed with these settings for every body
+type, `String`, `byte[]` and `InputStream` bodies included, which failed 
before: the entities of its internal subset are
+expanded, and the declaration itself is not passed on to Smooks.
+
+Set `allowExternalEntities=true` on the endpoint or on the data format for 
documents that rely on external entities or
+an external DTD.
+
+=== camel-flowable - xml inbound channels parse the event with the Camel XML 
settings
+
+The `flowable` producer now parses the event of an inbound channel of type 
`camel` with `deserializerType` set to
+`xml` with the XML parser settings that Camel uses, which are also the 
settings of Flowable 8: external DTDs are not
+loaded, external general and parameter entities are not included, entity 
references are kept as entity reference
+nodes, and XInclude is not processed. Before, the Flowable 7 deserializer 
parsed the event with the JDK defaults.
+An event that relies on an external DTD or an external entity no longer gets 
their content. A channel that sets
+`deserializerDelegateExpression` keeps its own deserializer, which can parse 
such events.
+
+=== camel-chunk - message data printed with a direct tag is rendered literally
+
+Previously the `chunk` component bound the message body, headers and variables 
into the Chunk engine so that
+Chunk re-parsed those values as template source: a value that itself contained 
Chunk tags (such as a body of
+`{$headers.name}`) had those tags expanded instead of being printed verbatim.
+
+Message data bound to the engine is now neutralised so that a direct `{$tag}` 
printing the body, a header, a
+variable, or an element of a nested map, list or array renders the value 
literally instead of evaluating the
+tags inside it. Tag-free data is unchanged and Chunk's string filters (for 
example `slice`, `get`, `join`)
+keep their existing behaviour. Routes that relied on message data being 
evaluated as Chunk template code must
+move that markup into the template itself.
+
+As part of this, a non-`List` `Collection` value (such as a `Set`) is now 
bound as a `List`, so a direct
+`{$body}` prints Chunk's list placeholder instead of the collection's 
`toString()`, and a filter such as
+`|join` operates on its elements.
+
+This does not cover every path: Chunk re-parses any string it produces while 
rendering, so the output of a
+filter (`{$body|trim}`), a string property of a bean body (`{$body.name}`, 
`{$exception.message}`) and string
+items bound by a `{% loop %}` are still parsed as template code. Keep 
untrusted data to direct `{$tag}`
+output; do not pass untrusted values through Chunk filters, bean properties or 
loops. If untrusted data must
+go through one of those paths, remove the `{` and `}` characters from it in 
the route before the `chunk`
+endpoint (Chunk has no escape for tags inside data), for example with a 
processor that rewrites the body or
+header.
+
+=== camel-spring-ws - internal Camel headers are no longer written into SOAP 
headers
+
+The default `messageFilter` of the `spring-ws` component, 
`BasicMessageFilter`, now applies the endpoint's
+`headerFilterStrategy` before it writes a message header into the SOAP header, 
both on the request sent by the
+producer and on the response returned by the consumer. With the default 
`SpringWebserviceHeaderFilterStrategy`,
+message headers whose names start with `Camel` or `camel` (case-insensitively) 
are no longer written into the SOAP
+header. Other message headers are written as before.
+
+A `BasicMessageFilter` created in application code applies a 
`SpringWebserviceHeaderFilterStrategy` unless it is
+created with another strategy. A route that relies on the previous behaviour 
can supply a custom
+`headerFilterStrategy` on the `spring-ws` endpoint.
+
+=== camel-platform-http-main - management server settings on a shared port
+
+When the HTTP server (`camel.server.enabled=true`) and the HTTP management 
server (`camel.management.enabled=true`)
+have the same port (both default to 8080), the HTTP server serves the 
management endpoints. It cannot apply these
+options of the management server, which were ignored without notice:
+
+* `camel.management.host`, when set to another host than the one of the HTTP 
server
+* `camel.management.path`, when set to another path than the one of the HTTP 
server
+* `camel.management.useGlobalSslContextParameters=true`, when the HTTP server 
does not use the global SSL configuration
+* `camel.management.authenticationEnabled=true`, with the basic or JWT 
authentication options
+
+Camel now fails to start when the management server shares the port and one of 
them is configured, with a message
+that lists them. Set `camel.management.port` to another port, so that the 
management server runs a server of its own
+and applies them. To keep a single port, remove them and configure the HTTP 
server instead: for example,
+authentication configured on the HTTP server for `/*` also applies to the 
management endpoints.
+
+=== camel-mina - the host name of the server is verified over SSL
+
+When `sslContextParameters` is set (on the endpoint, or with 
`useGlobalSslContextParameters` on the component), the
+producer, and the consumer with `clientMode=true`, now check that the 
certificate of the server matches the `host` of
+the endpoint, with the same rules as an HTTPS client. Before, any certificate 
trusted by the trust store was accepted,
+whatever host the certificate was issued for.
+
+A connection to a host name or an IP address that the certificate does not 
list now fails the SSL handshake; an IP
+address must be listed as a subject alternative name of the certificate. Use a 
certificate that matches the host of the
+endpoint, or set the new `hostnameVerification` option to `false` to keep the 
previous behaviour.
+
+MINA does not pass a failed handshake on as an error: the producer fails with 
a timeout (after `writeTimeout`, or
+`timeout` while waiting for a reply), and the handshake error is logged at 
`ERROR` level by
+`org.apache.mina.filter.ssl.SslHandler`. A producer that starts timing out 
after the upgrade should be checked for a
+certificate that does not list the host.
+
+=== camel-mllp - the producer verifies the host name of the server over TLS
+
+When `sslContextParameters` is set (on the endpoint, or with 
`useGlobalSslContextParameters` on the component), the
+MLLP producer now checks that the certificate of the server matches the host 
it connects to, with the same rules as an
+HTTPS client. Before, it accepted any certificate trusted by the trust store, 
whatever host the certificate was issued
+for.
+
+A producer that connects with a host name or an IP address that the 
certificate does not list now fails the TLS
+handshake; an IP address must be listed as a subject alternative name of the 
certificate, and a producer URI without a
+host name (such as `mllp://8888`) cannot pass the check. Use a certificate 
that matches the host of the endpoint, or set
+the new `hostnameVerification` option to `false` to keep the previous 
behaviour.
+
+=== camel-smpp - the host name of the SMSC is verified over SSL
+
+With `smpps` (or `usingSSL=true`), directly or through an HTTP proxy, the 
connection now checks that the certificate of
+the SMSC matches the host it connects to, with the same rules as an HTTPS 
client. Before, any certificate trusted by the
+JVM was accepted, whatever host it was issued for.
+
+A connection to a host name or an IP address that the certificate does not 
list now fails the SSL handshake; an IP
+address must be listed as a subject alternative name of the certificate. Use a 
certificate that matches the host of the
+endpoint, or set the new `hostnameVerification` option to `false` to keep the 
previous behaviour.
+
+A mismatch shows as the producer or consumer failing to start, with an 
`IOException` whose cause names the host that
+was checked:
+
+[source]
+----
+java.io.IOException: No subject alternative names matching IP address 
127.0.0.1 found
+    Caused by: javax.net.ssl.SSLHandshakeException: No subject alternative 
names matching IP address 127.0.0.1 found
+----
+
+=== camel-milo - the OPC UA client validates the server certificate
+
+When the endpoint it selects uses a security policy other than `None`, the 
`milo-client` and `milo-browse` components
+now validate the certificate of the OPC UA server. Before, any server 
certificate was accepted, and no option allowed
+to validate it.
+
+Configure the trusted certificates with the new `trustListDirectory` option: 
put the certificate of the server, or of
+the CA that issued it, in the `trusted/certs` directory of the trust list. A 
server certificate that does not chain up
+to a trusted certificate is written to `rejected/certs`, from where it can be 
moved to `trusted/certs` once it has been
+checked. The trust list also refuses a server certificate outside its validity 
period, revoked by a revocation list of
+the trust list, or whose application URI differs from the one of the server. A 
server certificate issued by a CA is
+refused with `Bad_CertificateRevocationUnknown` when the trust list holds no 
revocation list of that CA: add the CRL of
+the CA (an empty one is enough) to `trusted/crl` or `issuer/crl`. A custom 
validator can be configured with the new
+`certificateValidator` option instead.
+
+With neither option, the client does not connect to such an endpoint. It logs 
a `WARN` message
+`Failed to connect: The certificate of the OPC UA server cannot be validated`, 
followed by the endpoint and its
+security policy, and tries again every 10 seconds. A producer fails with 
`IllegalStateException: No connected`, caused
+by the same message. A server certificate refused by the trust list or by a 
`certificateValidator` is logged at `WARN`
+as `Failed to connect, because a certificate or security check failed`. To 
restore the previous behaviour, set the new
+`trustAllCertificates` option to `true`. This is insecure: the client then 
does not authenticate the server.
+
+The certificate that the user name and password are encrypted with is checked 
by the same validator. Endpoints that
+use the security policy `None` are not affected.
+
+=== camel-pqc - Bouncy Castle 1.85
+
+Camel 4.18.6 upgrades Bouncy Castle from 1.83 to 1.85. `DILITHIUM`, 
`SPHINCSPLUS` and `KYBER`
+now use ML-DSA, SLH-DSA and ML-KEM through the `BC` provider. The Camel option 
names are unchanged.
+
+Replace `DilithiumParameterSpec`, `SPHINCSPlusParameterSpec` and 
`KyberParameterSpec` in user code
+with `MLDSAParameterSpec`, `SLHDSAParameterSpec` and `MLKEMParameterSpec` from
+`org.bouncycastle.jcajce.spec`, and use the `BC` provider when creating key 
material.
+Previously stored Dilithium and SPHINCS+ keys must be regenerated; update 
peers that use their public keys.
+
+The default `SPHINCSPLUS` parameter set changes from `haraka_256s` (NIST 
category 5)
+to `slh_dsa_sha2_128s` (category 1). Use an SLH-DSA 256-bit parameter set if 
category 5 is required.
+
+=== camel-pqc - a configured KeyGenerator is used by one exchange at a time
+
+When Camel creates the instance itself, the KEM operations of the `pqc` 
component and the PQC data format now use a
+new `KeyGenerator` for every operation. A configured instance is still shared: 
a registry bean, which is autowired into
+every `pqc` endpoint, a `KeyGenerator` set on the data format, or the default 
material used when no key material is
+configured. Each operation now holds its lock from `init` until the result is 
returned, so concurrent exchanges that
+use it run one at a time.
+
+A started PQC data format no longer keeps a `KeyGenerator` of its own: 
`getKeyGenerator()` returns only a configured
+instance and, unless one is configured, the `CamelPQCKemAlgorithm` header now 
selects the KEM algorithm of each
+operation.
+
+=== camel-undertow - WebSocket endpoints apply the security provider, allowed 
roles and handlers
+
+WebSocket endpoints (`ws://` and `wss://`) now apply the 
`UndertowSecurityProvider` (the `securityConfiguration` or
+`securityProvider` option), the `allowedRoles` option, and the `handlers` and 
`accessLog` options, as HTTP endpoints
+do. Previously these options had no effect on WebSocket endpoints. They apply 
to the upgrade request: a client that
+the security provider rejects, or that connects to an endpoint with 
`allowedRoles` but no security provider, now gets
+the same status code as on an HTTP endpoint (for example `403`) and no 
connection is opened. The headers that the
+security provider adds are set on the exchanges of the connection.
+
+All the endpoints of a WebSocket path share its connections. The settings of 
the consumer apply to the path,
+including the messages sent by producers on that path, and keep applying while 
the consumer is stopped; a path that
+only has producers applies their settings. A connection that was opened before 
these settings applied does not
+receive the messages of the producers, and it is closed when it sends a 
message.
+
+A connection opened while only producers served a path did not pass the custom 
`handlers` of a consumer, as those
+handlers run only for consumers. When a consumer that configures `handlers` is 
started on that path, such a connection
+is therefore no longer served: its messages do not reach the route, it does 
not receive what the producers send, and
+it is closed. Clients that open a connection before the consumer has started 
must reconnect after it has started.
+
+A WebSocket client that connected without satisfying the configured security 
provider or allowed roles is now
+rejected: it must authenticate, or the option must be removed from the 
WebSocket endpoint.
+
+=== camel-undertow - the producer refuses a request target or header value 
with control characters
+
+The undertow producer writes the path, query and header values of the outgoing 
request to the socket one character at
+a time, without validating them. A carriage return or line feed therefore 
broke the request into further lines, and a
+character above `0xFF` was written as a single, different byte (for example 
`U+010A` became a line feed). The producer
+now refuses to send a request path, query or header value that contains a 
control character or a character above
+`0xFF`, and fails the exchange with an `IllegalArgumentException` instead. A 
space and a tab, which do not change the
+framing, are still allowed. Routes that put a percent-encoded control 
character (such as `%0D%0A`) into the
+`CamelHttpPath` or `CamelHttpQuery` header, which the producer decodes before 
building the request, are the ones most
+likely to be affected.
+
+=== camel-aws2-athena - the queryString option takes precedence over the 
message body
+
+The `startQueryExecution` operation of the `aws2-athena` producer, which is 
its default operation, now takes the SQL to
+run from the `CamelAwsAthenaQueryString` header, then from the `queryString` 
option, and from the message body only
+when neither the header nor the option is set. Previously the message body 
came first, so an endpoint configured with
+`queryString` used the message body as the SQL whenever the message had one.
+
+Routes that set the SQL in the message body and configure no `queryString` 
option, as the examples in the component
+documentation do, keep working. Routes that set both now run the `queryString` 
option; remove the option, or set the
+SQL in the `CamelAwsAthenaQueryString` header, to keep running the SQL of the 
message body.
+
+With `includeTrace=true`, the URI of the from endpoint in the SQL comment is 
now sanitized, as Camel does when it logs
+an endpoint URI, and it is left out when the exchange has no from endpoint, 
which failed with a `NullPointerException`
+before.
+
+=== camel-core - pollEnrich: the body is null after a timeout also for a 
message that creates its body on demand
+
+When `pollEnrich` (or `poll`) times out and no `aggregationStrategy` is 
configured, the body is set to `null`, and with
+`variableReceive` the variable is `null`. For a message that creates its body 
on demand, the `null` did not stick: the
+next read created the body again. The message of a file consumer creates its 
body from its file, so after a timeout
+the body, or the variable of `variableReceive`, was the file of the incoming 
exchange instead of `null`. The messages
+of the JMS, sjms, mail, HTTP, XMPP, SMPP, SNMP and Spring WS consumers create 
their body on demand as well, so there it
+was the payload of the consumer again.
+
+The body, or the variable, is now `null` after a timeout for these consumers 
too. A route that read the incoming file
+or payload from the body after a timed out `pollEnrich` must keep it before 
the `pollEnrich` instead, for example with
+`variableReceive`, which leaves the body as it was. To keep the body empty, 
the message is replaced by a plain message
+with the same message id, headers and attachments, so after a timeout it is no 
longer of the message type of the
+consumer (such as `GenericFileMessage` or `JmsMessage`).
+
+=== camel-pubnub - the producer uses its configured channel
+
+The pubnub producer no longer reads the `CamelPubNubChannel` header. This 
header is set by the pubnub consumer to the
+channel a message was received on, and the producer used it instead of the 
channel configured on its endpoint, so a
+route from one pubnub endpoint to another sent each message back to the 
channel it came from. The producer now uses the
+channel of its endpoint, for every operation. To choose a different channel 
for a message, set the new
+`CamelPubNubOverrideChannel` header (`PubNubConstants.OVERRIDE_CHANNEL`). 
Routes that set `CamelPubNubChannel` to pick
+the channel of a pubnub producer must set `CamelPubNubOverrideChannel` instead.
+
+=== camel-pqc - message bodies are signed and verified over their bytes
+
+The `sign` and `verify` operations now sign and verify the message body over 
its bytes for every body type that has a
+well-defined binary form. A `byte[]` or `InputStream` body, a `java.io.File` 
or `java.nio.file.Path` body, and a file
+from a file consumer (a `GenericFile` body), are read as bytes. A `String` (or 
any `CharSequence`) body is encoded as
+UTF-8, and any other body that has a binary type converter (for example a 
`java.nio.ByteBuffer`, a
+`java.io.ByteArrayOutputStream`, a Netty `ByteBuf` or a Vert.x `Buffer`) is 
signed over those bytes.
+
+A body with no binary representation (for example a `Map` or a POJO) is no 
longer signed over its `toString()`: it is
+now rejected with an `InvalidPayloadException`. Convert such a body to a 
`String`, `byte[]` or other binary type
+earlier in the route.
+
+Signatures created by earlier versions may not verify and need to be created 
again.
+
+=== camel-github2 - getCommitFile
+
+getCommitFile now takes the commit from the `CamelGitHubCommitSha` header, 
which must be a commit id of 40
+hexadecimal characters, and the path of the file from the new 
`CamelGitHubFilePath` header, or else the body, and gives
+the content of the file at that commit. Previously the body was taken as the 
commit when the header was not set, and
+the operation could not give the content of a file.
+
+=== camel-support - the error of a failed API component call names its 
arguments only
+
+When the call of an API component fails, such as one of fhir, box, 
google-drive or twilio, the error message now names
+the arguments of the call, as in `Error invoking resourceById with [password, 
resourceClass, serverUrl, stringId,
+username]: ...`, and no longer shows their values. The arguments hold the 
options of the endpoint, such as a password or
+a token, and the message data. The debug log of the call masks the values of 
the sensitive options.
+
+=== camel-vertx - standalone TrustManager on SSLContextParameters is applied
+
+When configuring TLS through `SSLContextParameters` with a standalone 
`TrustManager` instance (via `TrustManagersParameters.setTrustManager(...)`), 
Vert.x components now wrap and apply the configured `TrustManager`. Previously, 
only `TrustAllTrustManager.INSTANCE` and KeyStore-backed configurations were 
applied, and other standalone `TrustManager` instances were not set on the 
underlying Vert.x options.
+
+When both a `TrustManager` and a keystore are configured on 
`TrustManagersParameters`, the `TrustManager` is now used,
+as with the other components that use `SSLContextParameters`; before, the 
keystore-based trust options were used.
+
+=== camel-cometd - the CORS filter allows credentials only for listed origins
+
+With `crossOriginFilterOn=true`, the CORS responses now include 
`Access-Control-Allow-Credentials: true` only when
+`allowedOrigins` lists the origins explicitly, without any `*` or `null`. When 
`allowedOrigins` is not set, is `*`, or
+has an entry with a wildcard such as `https://*` or an entry `null`, the 
origin is still allowed, but without
+credentials. Previously credentials were allowed for every origin. A 
cross-origin client that sends cookies or other
+credentials must have its origin listed in `allowedOrigins`.
+
+=== camel-vertx-websocket - consumers on the same host and port must use the 
same SSLContextParameters
+
+All `vertx-websocket` consumers on the same host and port are served by one 
HTTP server, which is created from the
+`sslContextParameters` of the first consumer to start. A consumer started 
later with different `sslContextParameters`
+(including one with none while the server uses some, or the other way round) 
used to start and be served with the
+first consumer's settings. Such a consumer now fails to start with an 
`IllegalArgumentException` naming the host and
+port. Give every consumer on a host and port the same `SSLContextParameters` 
instance (for example the same bean
+reference, or the global SSL context parameters), or move consumers that need 
other settings to another port.
+
+=== camel-wordpress - requests and responses are no longer logged
+
+The WordPress client no longer logs every HTTP request and response it 
exchanges with the WordPress server at `INFO`
+level (the `org.apache.cxf.services` loggers). The component no longer depends 
on `cxf-rt-features-logging`, and the
+`camel-wordpress` JAR no longer contains a `log4j.properties` file.
+
+=== camel-oauth - session identifier logging and session rotation on login
+
+`InMemorySessionStore` no longer logs session identifiers. Additionally, 
`OAuthCodeFlowCallback` rotates the session
+identifier upon successful authentication, replacing the pre-login session 
identifier with a new session identifier
+and emitting an updated session cookie. The default `rotateSession` method of 
`OAuthSessionStore` keeps the session
+unchanged, so a custom `OAuthSessionStore` must override it to rotate the 
session identifier on login.
+
+The Jakarta servlet backend (`ServletOAuth`) now validates the `aud` 
(audience) claim of access tokens evaluated by
+`UserProfile` and `OAuthBearerTokenProcessor`. Tokens are validated against 
configured expected audiences on
+`JWTOptions` (via `config.getJWTOptions().addAudience(String)` or 
`config.getJWTOptions().setAudience(List<String>)`),
+falling back to the configured `camel.oauth.client-id` when no custom audience 
is configured. Tokens whose audience does
+not match or tokens without an audience claim are rejected with 
`OAuthException`.
+
+For OpenID Connect / Keycloak login flows, Keycloak access tokens commonly 
carry `aud=account` by default unless an
+audience protocol mapper is configured on the client. Applications upgrading 
that use Keycloak for authorization code
+login flows should configure an audience mapper on the client in Keycloak or 
configure the expected audience on `JWTOptions`
+(for example, `config.getJWTOptions().addAudience("account")`).
+
+=== camel-google-storage - object names are checked, and an expression in 
downloadFileName is confined
+
+The remote object name is untrusted input, so the consumer now also checks it 
whatever `downloadFileName`
+looks like. An absolute object name (one starting with `/` or `\`, or with a 
drive letter such as `C:`) and
+an object name with a `..` path segment are rejected, even when the name would 
normalize back inside the
+download directory (for example `a/../b.txt`). When the consumer lists the 
bucket, a rejected object is skipped
+and reported to the consumer's exception handler, which logs a warning by 
default, and the other objects of the
+poll are consumed as usual. The rejected object stays in the bucket, so it is 
reported again on every poll until it
+is removed or renamed. With `objectName`, which consumes a single object, the 
poll fails instead, and the failure is
+reported on every poll.
+
+The containment check is now also applied when `downloadFileName` is 
configured as a directory followed
+by an expression, such as `downloadFileName=/tmp/downloads/${file:name}`: the 
destination must stay within
+the static directory prefix configured before the first expression token 
(`/tmp/downloads` in the example).
+When `downloadFileName` is fully dynamic and has no static directory prefix 
(for example
+`downloadFileName=${file:name}`), a relative destination must stay within the 
working directory. An absolute
+destination that comes from the route's own expression is not confined.
+
+=== camel-xslt-saxon - external resource access is restricted for a Source 
message body
+
+`XsltSaxonAggregationStrategy` now configures its Saxon `TransformerFactory` 
the same way the `xslt-saxon`
+endpoint configures the factory it creates: `FEATURE_SECURE_PROCESSING` is 
enabled and `ACCESS_EXTERNAL_DTD`
+and `ACCESS_EXTERNAL_STYLESHEET` are set to an empty string. Previously the 
strategy used the Saxon defaults,
+so the same stylesheet ran with different settings depending on whether it was 
used from the endpoint or from
+the strategy. On Saxon PE/EE, `FEATURE_SECURE_PROCESSING` also disables 
reflexive Java extension functions in the
+stylesheet.
+
+In addition, both the strategy and the `xslt-saxon` endpoint now parse a 
message body that is already a
+`javax.xml.transform.Source` still to be parsed, for example a `StreamSource` 
or the body after a
+`convertBodyTo(Source.class)`, with a reader that does not resolve references 
to external resources declared
+in the document. A `DOMSource`, a `StAXSource`, or a `Source` that already 
carries its own reader is left
+unchanged, and a declaration internal to the document is still applied. The 
other body types (`String`,
+`byte[]`, `InputStream`) are unaffected, as they already reach the transformer 
through Camel's StAX/SAX
+conversion.
+
+On the `xslt-saxon` endpoint, `secureProcessing` now controls both: setting 
`secureProcessing=false` (for example so
+a Saxon PE/EE stylesheet can call Java extension functions) also restores the 
previous, unrestricted parsing of a
+`Source` body. `XsltSaxonAggregationStrategy` has no switch for the `Source` 
parsing: `setTransformerFactory(...)`
+replaces the factory, but the strategy's `XsltSaxonBuilder` keeps 
`secureProcessing=true`, so the body is still
+parsed with the restricted reader.
+
+On 4.18.x the `xslt-saxon` endpoint factory configuration changes as well, as 
it did in 4.22.0: `secureProcessing`
+(default `true`) is now applied to the Saxon `TransformerFactory` also when no 
`saxonExtensionFunctions` are
+configured, including a factory set with the `transformerFactory` option, and 
a factory the endpoint creates itself
+now has `ACCESS_EXTERNAL_DTD` and `ACCESS_EXTERNAL_STYLESHEET` set to an empty 
string. A Saxon PE/EE stylesheet that
+calls Java extension functions now needs `secureProcessing=false`.
+
+=== camel-openstack - the remaining Swift header constants follow the Camel 
naming convention
+
+The four remaining Exchange header constants of `SwiftConstants` have been 
renamed to follow the Camel naming
+convention used by the rest of the component, completing the rename done in 
4.18.3. The Java field names are
+unchanged; only the header string values have changed.
+
+[options="header"]
+|===
+| Constant | Previous value | New value
+| `SwiftConstants.CONTAINER_METADATA_PREFIX` | `X-Container-Meta-` | 
`CamelOpenstackSwiftContainerMetadata`
+| `SwiftConstants.VERSIONS_LOCATION` | `X-Versions-Location` | 
`CamelOpenstackSwiftVersionsLocation`
+| `SwiftConstants.CONTAINER_READ` | `X-Container-Read` | 
`CamelOpenstackSwiftContainerRead`
+| `SwiftConstants.CONTAINER_WRITE` | `X-Container-Write` | 
`CamelOpenstackSwiftContainerWrite`
+|===
+
+The previous values were kept in 4.18.3 on the understanding that they were 
part of the Swift HTTP contract. They are
+not: the container producer passes the values to the openstack4j 
`CreateUpdateContainerOptions`, which builds the
+`X-Container-Meta-`, `X-Versions-Location`, `X-Container-Read` and 
`X-Container-Write` names of the Swift request
+itself. The request Camel sends to Swift is therefore unchanged by this rename.
+
+Routes that reference the constants symbolically (for example 
`setHeader(SwiftConstants.CONTAINER_READ, ...)`)
+continue to work without changes. Routes that set one of these headers by its 
literal string value (for example
+`setHeader("X-Container-Read", ...)` in an XML or YAML route) must be updated 
to the new value
+(`setHeader("CamelOpenstackSwiftContainerRead", ...)`); the previous names are 
no longer read.
+
+The generated Endpoint DSL header accessors on the Swift `HeaderNameBuilder` 
are renamed accordingly
+(`xContainerMeta()` -> `openstackSwiftContainerMetadata()`, 
`xVersionsLocation()` ->
+`openstackSwiftVersionsLocation()`, `xContainerRead()` -> 
`openstackSwiftContainerRead()`, `xContainerWrite()` ->
+`openstackSwiftContainerWrite()`).
+
+=== camel-telemetry, camel-tracing - the http.url, url.path and server.address 
span attributes are presented like camel.uri
+
+This applies to `camel-opentelemetry2`, `camel-micrometer-observability`, 
`camel-telemetry-dev`, `camel-opentelemetry`
+and `camel-observation`. The `http.url`, `url.path` and `server.address` 
attributes of a span are now presented the same
+way as the `camel.uri` attribute, which shows the endpoint URI as 
`Endpoint.toString()` does:
+
+* `http.url`, when the message has neither a `CamelHttpUrl` nor a 
`CamelHttpUri` header, is now the HTTP address the
+  endpoint sends to, with the query parameters it sends but without the Camel 
endpoint options. Before, it was the
+  endpoint URI from the last `http:` onwards, with all the endpoint options. A 
`camel-http` endpoint with an `https`
+  address now sets the attribute as well, and for a `camel-vertx-http` 
endpoint with an `https` address the value no
+  longer starts with `http://https://`.
+* `url.path` no longer includes the user info in front of the host of the 
endpoint URI.
+* `server.address`, and `http.url` taken from the `CamelHttpUrl` or 
`CamelHttpUri` header, are presented as `camel.uri`
+  is.
+
+Dashboards or queries that use the old values may need a change.
+
+=== camel-netty-http - endpoints that differ only in their options are 
distinct endpoints
+
+Two `netty-http` endpoints whose URIs differ only in their endpoint options, 
for example
+`netty-http:http://localhost:8080/foo` and 
`netty-http:http://localhost:8080/foo?throwExceptionOnFailure=false`, are no
+longer equal. Each of them now gets its own producer when a 
`ProducerTemplate`, `toD` or another EIP with a dynamic URI
+sends to them. Before, these endpoints used the producer of the endpoint that 
was used first, with the options of that
+endpoint.
+
+The endpoint URI does not change: it is still the HTTP address, such as 
`http://localhost:8080/foo`, so JMX names,
+auto-mock names, tracing and metrics are the same as before.
+
+Two routes that consume from the same address with different endpoint options 
are no longer rejected at startup as
+"Multiple consumers for the same endpoint is not allowed". Use one consumer 
per address.
+
+=== camel-micrometer, camel-opentelemetry-metrics - tags and attributes from 
headers are used as given
+
+The `micrometer` and `opentelemetry-metrics` producers now use the tags of the 
`CamelMetricsTags` header and the
+attributes of the `CamelMetricsAttributes` header as given. Before, their keys 
and values were evaluated as Simple
+expressions, in the same way as the `tags` and `attributes` URI options. The 
URI options are still evaluated per
+exchange, and a tag or attribute from the header still overrides one from the 
URI with the same key.
+
+A route that relied on a Simple expression in a header tag or attribute should 
use the `tags` / `attributes` URI
+option instead (for example `tags.customer=${header.customerId}`), or compute 
the value in the route before
+setting the header.
+
+=== camel-jsch - the scp producer refuses a file name with a line feed or a 
NUL character
+
+The `scp` producer now refuses a file name with a line feed or a NUL 
character, in the file name or in one of its
+directories, with a `GenericFileOperationFailedException`. It does so before 
it starts scp on the remote host, so
+nothing is written there. Any other character, such as a carriage return or a 
tab, is sent as before.
+
+scp sends each name on a protocol line that ends with a line feed. Before, a 
line feed in the file name ended that
+line early: the remote scp wrote a file named after the part of the name 
before the line feed, with the rest of the
+name at the start of its content, and the exchange did not fail. A line feed 
in a directory failed the exchange, but
+left a directory named after the part before it. A NUL character failed the 
exchange on the remote host, or, with an
+OpenSSH server before 10.6, cut the name short there. Remove or replace these 
characters in the `CamelFileName` header
+or in the `fileName` option before the message reaches the producer.
+
+=== camel-azure-storage-blob - copyBlob validates the source account and 
container name
+
+`copyBlob` now rejects invalid source account or container names (headers 
`CamelAzureStorageBlobSourceBlobAccountName`
+and `CamelAzureStorageBlobSourceBlobContainerName`) with an 
`IllegalArgumentException`.
+
+=== camel-netty-http - endpoint options are no longer sent to the server as 
query parameters
+
+The `netty-http` producer no longer sends some of its endpoint options, such 
as `cookieHandler`, `httpMethodRestrict`,
+`traceEnabled` and `exchangePattern`, to the HTTP server as query parameters. 
For example,
+`netty-http:http://localhost:8080/foo?bar=1&cookieHandler=#myCookieHandler` 
now calls
+`http://localhost:8080/foo?bar=1`. Before, the server also received the 
`cookieHandler` parameter. Only the
+query parameters that are not endpoint options are sent, as the documentation 
describes. To send a query parameter
+that has the same name as an endpoint option, set the query in the 
`CamelHttpQuery` header.
+
+=== camel-pulsar - the producer no longer replaces the body with the message id
+
+After sending, the producer used to overwrite the message body with the 
`MessageId` returned by the
+broker, so every step after the `to("pulsar:...")` saw a `MessageId` instead 
of the payload, and a route
+such as `.to("pulsar:a").to("pulsar:b")` published a Java-serialized 
`MessageId` to the second topic.
+That behaviour dates from the asynchronous send added in 3.20 (CAMEL-16030).
+
+The body is now left untouched, and the assigned id is reported on the new
+`CamelPulsarProducerMessageId` header instead.
+
+A route that read the `MessageId` from the body must read that header instead.
+
+=== camel-pqc - FileBasedKeyLifecycleManager restricts keyId to a flat file 
name
+
+`FileBasedKeyLifecycleManager` now confines every key file to its configured 
key directory. A `keyId`
+(supplied through the `CamelPQCKeyId` / `CamelPQCNewKeyId` headers) that 
contains a forward slash, a
+backslash, a null character, or that would otherwise resolve outside the key 
directory is now rejected
+with an `IllegalArgumentException`.
+
+Previously a `keyId` such as `tenant-a/signing` resolved into a subdirectory 
of the key directory.
+Deployments that organised keys that way must switch to a flat `keyId` (for 
example `tenant-a-signing`).
+Only the file-based manager is affected; the in-memory and cloud-backed 
managers were never file-path
+based.
+
+=== camel-core - default TLS protocols and cipher suites of 
SSLContextParameters
+
+The default secure socket protocols filter of `SSLContextParameters` now also 
excludes `TLSv1` and `TLSv1.1` (so
+`TLSv1.2` is the minimum), and the default cipher suites filter also excludes 
the `3DES` cipher suites. The default
+filters of an `SSLServerSocket` are now applied over the default (enabled) 
protocols and cipher suites of the JVM, as
+they already were for an `SSLSocket` and `SSLEngine`. Previously they were 
applied over all the supported protocols
+and cipher suites, which enabled `TLSv1` and `TLSv1.1` on a server socket 
(unless disabled in the JVM security
+configuration).
+
+To use an older protocol (not recommended) configure it explicitly using 
`secureSocketProtocols`.
+
+=== camel-netty, camel-netty-http - client authentication of 
sslContextParameters
+
+A Netty consumer using `sslContextParameters` now uses the client 
authentication of its server parameters
+(`clientAuthentication` of `SSLContextServerParameters`, or 
`camel.ssl.clientAuthentication` with global SSL), also
+when the `needClientAuth` option is not enabled. Previously 
`needClientAuth=false` (the default) turned the client
+authentication off.
+
+=== camel-jbang - runtime catalogs use the selected Camel version
+
+Spring Boot and Quarkus catalogs now report the resolved Camel core version 
and read EIP/model schemas from that
+version's catalog. Previously, they could combine the selected runtime's 
component schemas with the running CLI or
+MCP server's newer model schemas. A model absent from the selected catalog now 
remains absent.
+Runtime dependency coordinates still use the selected Spring Boot or Camel 
Quarkus version.
+
+Versioned Main catalogs also report the selected version: 
`DefaultCamelCatalog.getCatalogVersion()` now honors
+the installed version manager instead of always reporting the built-in version.
+When using `MavenVersionManager` from `camel-catalog-maven`, 
`getCatalogVersion()` returns `null` until
+`loadVersion(...)` succeeds.
+
+A Quarkus BOM must identify both `org.apache.camel:camel-catalog` and
+`org.apache.camel.quarkus:camel-quarkus-catalog`. If either version or the 
selected catalog cannot be resolved,
+catalog loading fails instead of returning the running server's catalog.
+
+Spring Boot retains its existing fallback: if downloading 
`org.apache.camel:camel-catalog` for the requested
+version fails, it tries the running CLI's Camel version. The catalog reports 
the core version actually resolved.
+
+For Spring Boot, `camel export` and `camel run` without an explicit 
`--camel-version` now use the resolved core
+catalog version for Camel core dependencies in the generated project. For 
example, `--camel-spring-boot-version=4.8.0`
+uses Camel 4.8.0 instead of the running CLI's version when that catalog is 
available. Set `--camel-version` explicitly
+to retain a different core dependency version.
+
+=== camel-main - the server and vault options flagged secret are sensitive keys
+
+The options `camel.server.jwtKeystorePassword`, 
`camel.management.jwtKeystorePassword`,
+`camel.vault.azure.eventhubConnectionString`, `camel.vault.azure.tenantId` and 
`camel.vault.gcp.serviceAccountKey` are
+flagged secret, and are now also sensitive keys, like the other secret 
options. The options
+`camel.vault.ibm.eventStreamUsername` and 
`camel.vault.ibm.eventStreamPassword` are now flagged secret as well.
+The Camel Main auto-configuration summary shows the value of these options as 
`xxxxxx`.
+These options are matched by their whole key. Component and endpoint options 
with the same name, such as `tenantId` or
+`serviceAccountKey`, are not affected.
+
+=== camel-quartz - a scheduler from the registry gets the CamelContext when 
the component starts
+
+With a Quartz `Scheduler` set on the quartz component or autowired from the 
registry, such as the scheduler of
+`spring-boot-starter-quartz`, the component now stores the CamelContext in the 
scheduler context when it starts, before
+the routes add their jobs. Before, it did so only once the CamelContext was 
fully started, so a trigger that fired in
+between on a scheduler that was already running failed with `No CamelContext 
could be found with name`. Such a job now
+runs its route if the route has started. The component now logs a WARN when 
this scheduler is already running when it
+starts, as a trigger that fires before its route has started is still lost 
(with Spring Boot, set
+`spring.quartz.auto-startup=false` to let Camel start it), and when the 
options `properties`, `propertiesRef` or
+`propertiesFile` are set, as they are not used with such a scheduler.
+
+=== camel-cxf, camel-cxfrs - the former operationName and operationNamespace 
headers are not sent
+
+The `CamelCxfOperationName` and `CamelCxfOperationNamespace` headers replaced 
the `operationName` and
+`operationNamespace` headers (see the
+xref:camel-4x-upgrade-guide-4_18.adoc#_camel_cxf_potential_breaking_change[camel-cxf
 entry of the 4.18 upgrade guide]).
+The `cxf` producer does not read the former names. It now logs a WARN once 
when one of them is set without its replacement.
+The default `CxfHeaderFilterStrategy` filters `operationName` and 
`operationNamespace` again, as it did before the
+rename, so the service no longer receives them as HTTP headers. A route that 
maps a header named `operationName` to
+`CamelCxfOperationName` keeps working.
+
+The `cxf` producer also logs a WARN once when neither the 
`CamelCxfOperationName` header nor the `defaultOperationName`
+option selects the operation of a service with more than one operation. It 
then invokes the first operation that CXF
+returns, which is not the first one of the WSDL.
+
+The `cxfrs` producer does not read the former `operationName` header either. 
With the proxy-based client API
+(`httpClientAPI=false`) it still fails when `CamelCxfOperationName` is not 
set. The `NoSuchMethodException` now names
+that header, and says when `operationName` is set, in place of `Cannot find 
method with name: null`. The default
+`CxfRsHeaderFilterStrategy` filters a header named `operationName` again, as 
it did before the rename. The producer
+no longer sends it as an HTTP header, with either client API. The 
`SimpleConsumer` binding no longer returns it as a
+response header.
+
+=== camel-core - option values of a dynamic endpoint are bound as literal text
+
+The dynamic-endpoint EIPs -- `toD`, `enrich`, `wireTap`, `pollEnrich`, 
`recipientList`, `routingSlip` and
+`dynamicRouter` -- compute their target endpoint from the current message at 
runtime. The option values of that
+endpoint are now bound as literal text: a `#class:` value or a `#property:` 
value is not resolved. This holds regardless
+of how the component binds its options, including components that bind them in 
their own `createEndpoint` or look up
+a reference option with `resolveAndRemoveReferenceParameter`.
+
+This applies to every option of that uri, not only to the parts that come from 
the message: a `#class:` or
+`#property:` value written in the text of a `toD`, or in a uri that a bean of 
the route builds for `recipientList`,
+`routingSlip` or `dynamicRouter`, is not resolved either. For an option of 
type `String` the text is bound as is. For
+an option of another type, a `#class:` value fails the creation of the 
endpoint with a `ResolveEndpointFailedException`.
+Register the bean instead and refer to it with `#bean:`, for example:
+
+[source,java]
+----
+// before: the class was created for every new endpoint
+toD("log:audit?exchangeFormatter=#class:com.foo.MyFormatter&marker=${header.customer}")
+
+// after: create the bean once (e.g. camel.beans.myFormatter = 
#class:com.foo.MyFormatter) and refer to it
+toD("log:audit?exchangeFormatter=#bean:myFormatter&marker=${header.customer}")
+----
+
+What still works as before:
+
+* Registry references (`#bean:name`, `#type:`, `#name`) are still resolved, so 
`+toD("sql:${header.query}?dataSource=#ds")+` keeps working.
+* Property placeholders (`+{{...}}+`) in the uri computed per message are 
still resolved by `recipientList`,
+  `routingSlip` and `dynamicRouter`. For `toD`, `enrich`, `wireTap` and 
`pollEnrich`, see the next sections.
+* An endpoint in a static `to(...)`, or configured on the component, binds 
`#class:`, `#property:` and placeholders as
+  before.
+
+=== camel-core - RAW() option values of a dynamic endpoint computed from the 
message are literal text
+
+A `RAW(...)` option value of an endpoint whose uri is computed from the 
current message at runtime (`toD`, `enrich`,
+`wireTap`, `pollEnrich`, `recipientList`, `routingSlip` and `dynamicRouter`) 
is still unwrapped, but its content is now
+taken as literal text: a `+++$simple{...}+++` in it is no longer evaluated. 
Endpoints written in the route, such as
+`+to("ftp:[email protected]?password=RAW($simple{env:MY_FTP_PASSWORD})")+`, 
are unchanged. As the whole uri of `toD`
+is computed per message, this also applies to a 
`+++RAW($simple{env:MY_PASSWORD})+++` written in the `toD` uri itself;
+use a property placeholder instead, such as 
`+toD("ftp:joe@${header.host}?password=RAW({{env:MY_PASSWORD}})")+`, which
+is resolved once when the route is created.
+
+=== camel-core - property placeholders in a toD, enrich, wireTap or pollEnrich 
uri computed from the message
+
+`toD`, `enrich`, `wireTap` and `pollEnrich` no longer resolve property 
placeholders (`+{{...}}+`) in the uri evaluated
+for each message, as in Camel 4.22 and 4.23. A placeholder written in the 
route is resolved once, when the route is
+created. A `+{{...}}+` that only appears in the value computed at runtime, for 
example from a message header or the
+body, is now taken as a literal part of the endpoint uri instead of being 
expanded.
+
+This only affects routes where the message carried a `+{{...}}+` and relied on 
it being expanded. Placeholders written
+in the route keep working, for example:
+
+[source,java]
+----
+.toD("{{myEndpoint}}/${header.id}")
+.pollEnrich("file:{{inbox}}", 5000)
+----
+
+To have a placeholder resolved, keep it in the uri written in the route rather 
than in the message.
+
+`recipientList`, `routingSlip` and `dynamicRouter` are unchanged. Their 
recipient is computed entirely at runtime and may
+carry a placeholder that comes from configuration, so they continue to resolve 
`+{{...}}+` in the computed recipient.
+
+=== camel-ftp - ftps checks the server certificate against the JVM trust store 
when no trust store is configured
+
+An `ftps` endpoint configured with neither `sslContextParameters` nor the 
`ftpClient.trustStore.` options now checks the
+certificate of the server against the default trust store of the JVM (the 
`cacerts` file of the JDK, or the trust
+store set with the `javax.net.ssl.trustStore` system property). Before, such 
an endpoint accepted any server
+certificate within its validity dates, without checking who signed it.
+
+A server certificate signed by a public certificate authority works as before. 
For an FTPS server with a self-signed
+certificate, or a certificate signed by your own certificate authority, the 
connection now fails in the TLS handshake:
+put that certificate (or the certificate of the authority) in a trust store, 
and configure it with the
+`ftpClient.trustStore.file`, `ftpClient.trustStore.password` and 
`ftpClient.trustStore.type` options, or with
+`sslContextParameters`. A custom `ftpClient` keeps the trust manager it was 
created with. See
+xref:components::ftp-component.adoc#_ftps_component_default_trust_store[FTPS 
component default trust store].
+
+=== camel-vertx-http - an https:// address with a port always uses TLS
+
+A `vertx-http` endpoint with an `https://` address that has an explicit port 
(such as `https://host:8443/path`) now
+always calls it with TLS, also when no `sslContextParameters` is configured, 
and also through a proxy. The server
+certificate is then checked with the default trust store of the JVM, and the 
host name is verified. Before, such a
+request was sent without TLS unless TLS was turned on by 
`sslContextParameters`, global SSL settings or custom
+`WebClientOptions`. `https://` addresses without a port already used TLS.
+
+A route that called an `https://` address of a server that only speaks plain 
HTTP now fails; use an `http://` address
+for such a server. An `http://` address with `sslContextParameters` is not 
changed.
+
+=== camel-redis - RedisAggregationRepository stores exchanges in Java 
serialization, read through a deserialization filter
+
+`RedisAggregationRepository` now stores the exchanges in its Redis hashes as 
Java serialization, with the correlation
+key (or the exchange id) as a plain string field, and reads them back through 
an `ObjectInputFilter`. Before, the
+fields and values were encoded with the codec of the Redisson client, by 
default the Redisson `Kryo5Codec`. The codec
+of a `RedissonClient` given with the `redisson` option is no longer used for 
these hashes.
+
+The new option `deserializationFilter` sets the filter pattern, in the syntax 
of the `jdk.serialFilter` system
+property. When it is not set, the JVM-wide `jdk.serialFilter` applies if it is 
set, otherwise the default filter
+`!java.net.**;java.**;javax.**;org.apache.camel.**;maxdepth=20;maxrefs=10000;maxbytes=10485760;!*`.
 It allows the
+`java`, `javax` and `org.apache.camel` packages, except `java.net`, and 
rejects the other classes. It also limits the
+size of a stored exchange: `maxdepth=20` (the depth of the object graph), 
`maxrefs=10000` (the number of objects in it)
+and `maxbytes=10485760` (10 MB). Before, there was no such limit. An exchange 
over a limit cannot be read back, and its
+aggregation does not complete, for example a `List` body that collects more 
than 10000 strings, or a body of more than
+10 MB. If the bodies or headers are instances of your own classes, or are 
larger, set `deserializationFilter`. It
+replaces the whole default pattern, so keep its other parts, for example
+`!java.net.**;com.foo.model.**;java.**;javax.**;org.apache.camel.**;maxdepth=50;maxrefs=1000000;maxbytes=104857600;!*`,
+or leave out the `maxdepth`, `maxrefs` and `maxbytes` parts to have no limits. 
The objects that a body or header value
+refers to must be `java.io.Serializable`.
+
+A completed exchange that cannot be read back is skipped by the recovery, with 
a WARN that gives its exchange id, so
+the recovery of the other completed exchanges goes on.
+
+The exchanges stored by Camel 4.18.5 and older are not read: they stay in 
Redis, but these aggregations do not complete
+and these completed exchanges are not recovered. When the repository starts, 
it checks the first 100 entries of each
+of its hashes and logs a WARN with the number of such entries among them. 
Complete the aggregations in progress, and
+let the recovery of the completed exchanges finish, before upgrading. 
Otherwise, remove the hashes of the repository
+(`mapName` and the persistence map, by default `mapName` with the suffix 
`-completed`) from Redis.
+
+To upgrade without draining, set the new `codec` option to `new 
org.redisson.codec.Kryo5Codec()`. The repository
+then reads and writes the entries in the same format as the older versions, 
and the `deserializationFilter` option and
+the WARN at startup do not apply. Once the old aggregations have completed and 
been recovered, remove the `codec` option
+to switch to the Java serialization read through the filter.
+
+=== camel-mongodb - the tls and tlsAllowInvalidHostnames options are applied
+
+When `hosts` is set, the `tls` and `tlsAllowInvalidHostnames` options are now 
applied to the client that the endpoint
+creates; before, they had no effect. A route with `tls=true` now connects with 
TLS, so the server must accept TLS and
+its certificate must be trusted by the JVM. The TLS settings inside 
`connectionUriString` are kept when these options
+are not set.
+
+=== camel-snmp - the trap consumer receives only the traps of its snmpVersion
+
+The trap consumer (`type=TRAP`) now receives only the traps of the 
`snmpVersion` of its endpoint. With `snmpVersion=0`
+(the default) or `snmpVersion=1`, it receives SNMPv1 and SNMPv2c traps, and 
drops SNMPv3 traps. With `snmpVersion=3`,
+it drops SNMPv1 and SNMPv2c traps, and receives the SNMPv3 traps of the user 
set in `securityName`, checked with the
+`authenticationProtocol`, `authenticationPassphrase`, `privacyProtocol` and 
`privacyPassphrase` of the endpoint, and
+with at least its `securityLevel` (the default is 3, authentication and 
privacy). The user is held by the consumer
+only, and is no longer taken from another `snmp` endpoint with SNMPv3 in the 
JVM.
+
+Before, the consumer received the traps of every version, and received SNMPv3 
traps only when another `snmp` endpoint
+with SNMPv3, such as a trap producer, had been started in the same JVM. To 
receive traps of several versions, use a
+consumer per version, each on its own port.
+
+=== camel-smpp - the system id and password headers need the 
allowSystemIdAndPasswordFromHeaders option
+
+A producer with `lazySessionCreation=true` took the system id and the 
password, with which it connects to the SMSC,
+from the `CamelSmppSystemId` and `CamelSmppPassword` headers of the first 
message when both were set, over the
+`systemId` and `password` options of the endpoint. It now connects with the 
`systemId` and `password` of the endpoint,
+and ignores these headers, unless the endpoint sets the new 
`allowSystemIdAndPasswordFromHeaders=true` option (disabled
+by default), or the component sets 
`camel.component.smpp.allowSystemIdAndPasswordFromHeaders=true`. A route that
+relies on these headers must set this option.
+
+=== camel-pulsar - the host name of the broker is verified with pulsar+ssl
+
+When the endpoint creates its own Pulsar client, a `pulsar+ssl://` connection 
now checks that the certificate of the
+broker matches the host it connects to, with the same rules as an HTTPS 
client. Before, the client kept the default of
+the Pulsar client, which accepts any certificate trusted by the trust store, 
whatever host the certificate was issued
+for.
+
+A connection to a host name or an IP address that the certificate does not 
list now fails the TLS handshake; this also
+applies to the brokers that a lookup returns (their advertised listeners). Use 
certificates that match the hosts, or set
+the new `hostnameVerification` option to `false` to keep the previous 
behaviour. A `pulsarClient` that is given to the
+component or the endpoint is used as it is.
+
+The new `tlsTrustCertsFilePath` option sets a PEM file with the certificates 
of the certificate authorities to trust,
+for a broker whose certificate is not signed by an authority that the JVM 
trusts.
+
+=== camel-platform-http-main, camel-netty-http, camel-undertow - the 
Authorization header is removed after the login is checked
+
+When Camel checks the credential of an incoming request, the `Authorization` 
header of the request is now removed from
+the message before the route gets it. This applies to:
+
+* camel-platform-http-main: the requests under 
`camel.server.authenticationPath` when
+  `camel.server.authenticationEnabled=true`, with basic 
(`basicPropertiesFile`) or JWT authentication.
+* camel-netty-http: the requests that are checked with basic authentication 
(`securityConfiguration`).
+* camel-undertow: the requests that a security provider 
(`UndertowSecurityProvider`) has authenticated.
+
+Before, the header was passed on to the route, and from there to the steps 
that use the message headers, such as a log
+of the headers or a producer that sends them on. A request that Camel does not 
check, for example to a path outside
+`authenticationPath` or to a resource that the netty-http security constraint 
does not restrict, keeps the header as
+sent. A route that has to call a backend with credentials sets them on that 
producer.
+
+=== camel-google-sheets, camel-google-drive, camel-google-mail, 
camel-google-calendar - the OAuth access token is sent only in the 
Authorization header
+
+The credential options (`clientId`, `clientSecret`, `accessToken`, 
`refreshToken`, `serviceAccountKey`, `delegate`,
+and `p12FileName` for calendar) are no longer set on the request of the Google 
API, whether they are given as endpoint
+options or as `CamelGoogleSheets.*`, `CamelGoogleDrive.*`, `CamelGoogleMail.*` 
or `CamelGoogleCalendar.*` headers (in
+any case). Before, an `accessToken` option or header could also be added to 
the request URL as the `access_token`
+query parameter. The access token is now sent only in the `Authorization` 
header, as the client already did.
+
+A route that used a `CamelGoogleXxx.accessToken` header to change the token 
for one request no longer gets that;
+configure the token on the endpoint or the component instead.
+
+== Upgrading from 4.18.4 to 4.18.5
+
+=== camel-azure-eventhubs
+
+The producer now leaves the Camel-internal headers (`Camel*`) out of the 
`EventData` application properties by
+default. The 4.18.4 upgrade guide already announced this, but the filter was 
not installed, so 4.18.4 and earlier 4.18
+releases still copied every header. Configure a custom `headerFilterStrategy` 
on the component
+to change which headers are sent.
+
+A route that consumes from one Event Hub and produces to another no longer 
fails, or ignores the producer
+configuration, because of the `CamelAzureEventHubsPartitionKey` and 
`CamelAzureEventHubsPartitionId` headers that the
+consumer sets. Such a route used to fail with `Both partitionKey and 
partitionId are set` for every event with a
+partition key, and for every event when `partitionKey` was configured, and a 
configured `partitionId` was replaced by
+the partition the event was received from. The producer now picks the 
partition from, in this order: a partition
+header set by the route, the `partitionKey` or `partitionId` endpoint option, 
and the partition key of the received
+event. It no longer reuses the partition id of the received event, so an event 
without a partition key is no longer
+sent to the partition with the same id in the target Event Hub. To keep doing 
so, for example when mirroring between
+Event Hubs that have the same partitions, remove the 
`CamelAzureEventHubsReceivedPartitionId` exchange property before
+the producer.
+
+=== camel-zipfile, camel-tarfile - a maxDecompressedSize of 2 GiB or more is 
now enforced
+
+The `maxDecompressedSize` option of the Zip File and Tar File data formats 
(and of `ZipSplitter`) was not
+enforced when set to 2 GiB (`Integer.MAX_VALUE` bytes) or more, because the 
byte count behind the check
+wrapped around. The limit is now enforced for any value: unmarshalling an 
entry that decompresses to more
+than the configured `maxDecompressedSize` fails with an `IOException`, as 
documented. The default limit
+(1 GiB) is unchanged, and `-1` still disables the limit.
+
+`IOHelper.copy(InputStream, OutputStream, int, boolean, long)` now returns 
`Integer.MAX_VALUE`, instead of a
+negative number, when it copies more than `Integer.MAX_VALUE` bytes.
+
+=== camel-oauth - the post login url is confined to the configured redirect 
uri origin
+
+The post login url of the authorization code flow is now always built from the 
origin (`scheme://host[:port]`)
+of the configured `camel.oauth.redirect-uri`, plus the requested path. 
`OAuthCodeFlowProcessor` previously
+rebuilt that url from the `X-Forwarded-Proto` / `X-Forwarded-Host` / 
`X-Forwarded-Port` request headers, or
+from the `Host` header behind `CamelHttpUrl` when those were absent. All of 
those are set by the caller, so
+a request could point the post login redirect at any origin. A deployment 
behind an ingress or an OpenShift
+Route still redirects to its externally reachable address, because 
`camel.oauth.redirect-uri` is the address
+the identity provider sends the browser back to. Deployments whose external 
address differs from that
+property must set it to the address the browser actually reaches; a request 
announcing another origin is now
+redirected to the configured one and a warning is logged.
+
+=== camel-spring-ws - internal Camel headers are now filtered when mapping 
SOAP response headers
+
+When `allowResponseHeaderOverride` is enabled, the `spring-ws` producer now 
applies the endpoint's
+`headerFilterStrategy` to the SOAP response header attributes and elements it 
maps onto the message, as the
+`spring-ws` consumer already does for inbound SOAP headers. With the default 
`SpringWebserviceHeaderFilterStrategy`,
+attribute and element names starting with `Camel` or `camel` 
(case-insensitively) are no longer copied onto the
+message.
+
+Other SOAP response header attributes and elements are mapped as before, and 
the raw SOAP header is still
+available in the `CamelSpringWebserviceSoapHeader` header. A route that relies 
on the previous behaviour can supply a
+custom `headerFilterStrategy` on the `spring-ws` endpoint.
+
+=== camel-http-common, camel-platform-http-vertx - fileNameExtWhitelist 
entries are matched exactly
+
+`fileNameExtWhitelist` is now checked the same way everywhere, by one shared 
check in `camel-http-base`. Two
+places still matched each extension as a substring of the whitelist, so for 
example a whitelist of `txt`
+accepted an upload named `evil.x`: the `camel-platform-http-vertx` consumer, 
and `DefaultHttpBinding` in
+`camel-http-common` for uploads that arrive as request attributes, which also 
replaced the configured
+`fileNameExtWhitelist` with its lower-cased value. Both now compare each 
comma-separated entry exactly and
+case-insensitively. `*` still accepts every file, a file name without an 
extension is still accepted, and the
+configured value is left unchanged. An upload whose extension only matched as 
part of a longer entry is now
+rejected.
+
+=== camel-core - masking of sensitive values in endpoint URIs
+
+`URISupport.sanitizeUri()`, which masks secrets in endpoint URIs shown in 
logs, events, JMX names and error
+messages, now masks some values it used to miss, so the masked form of a URI 
can differ from earlier releases:
+
+* option names are matched ignoring dashes, so `access-key` is masked like 
`accessKey`
+* a `RAW(...)` or `RAW{...}` value is masked up to the bracket that ends it, 
also when the value contains that bracket
+* the userinfo password of every URI in a text is masked, not only the last one
+* the `Unknown parameters=[...]` message of an endpoint that cannot be created 
masks the values of sensitive parameters
+
+The keywords added with `camel.main.additionalSensitiveKeywords` (or 
`URISupport.addSanitizeKeywords()`) now apply to
+every matching parameter, not only the first one, and they are added to the 
keywords configured earlier instead of
+replacing them. The keywords apply to the whole JVM and cannot be removed.
+
+=== camel-core - Rest DSL response Content-Type
+
+Under json or xml binding, a response without a Content-Type header again 
takes it from the `produces` of the rest
+verb, as before Camel 4.18.4 and 4.22.0. Those releases used 
`application/json` (or `application/xml`) whenever the
+binding mode allowed it and marshalled the body, so a verb producing 
`text/plain` answered with a json-quoted body and
+a binary body failed. When `produces` lists several media types, the first 
json (or xml) type is used, otherwise the
+first one. Wildcards such as `*/*` are skipped, falling back to 
`application/json` or `application/xml`.
+
+=== camel-docling
+
+A `String` message body is no longer interpreted as a location by default. 
Previously the producer
+inspected the body and, when it started with `http://` or `https://`, handed 
it to Docling as a remote
+URL to fetch; when it started with `/` or contained `\`, it read it from the 
local filesystem; otherwise
+it converted it as document content.
+
+The two location readings must now be enabled explicitly:
+
+* `allowUrlSource` (default `false`) - interpret a body starting with 
`http://` or `https://` as a URL.
+* `allowFilePathSource` (default `false`) - interpret a body starting with 
`/`, or containing `\`, as a
+  local file path. This also covers the single directory-or-file `String` body 
accepted by the batch
+  operations.
+
+A route that passes the document itself in the body is unaffected. A route 
that passes a URL or a path in
+the body must set the matching option, otherwise the exchange fails with an 
`IllegalArgumentException`
+naming the option to enable.
+
+The `CamelDoclingInputFilePath` header is unchanged and still accepts a path 
without any opt-in, as are
+`File`, `byte[]` and `InputStream` bodies and the explicit path collections 
(`List<String>`, `String[]`,
+`List<File>`, `File[]`) used by the batch operations.
+
+A new `inputBaseDirectory` option is also available. When set, every local 
input path - from the header,
+from a file path body, and from the batch operations - must resolve inside 
that directory once normalized.
+It is unset by default, which keeps the previous behaviour of accepting any 
path.
+
+Additionally, a local input path that does not exist is now reported as a 
`File not found` `IOException`
+before Docling is invoked. Previously the size check silently skipped a path 
that resolved to nothing and
+the failure surfaced later, from the Docling process or API call.
+
+The `CamelDoclingOutputFilePath` header, which selects the CLI output 
directory, is now normalized lexically
+(redundant separators and `.`/`..` segments are resolved) before it is passed 
to Docling; a header value
+without such segments is still used as given. A new `outputBaseDirectory` 
option additionally confines the
+header the same way `inputBaseDirectory` confines input paths - when set, an 
output path that resolves outside
+it, including an absolute path, is rejected with an `IOException`. 
`outputBaseDirectory` is unset by default.
+
+=== camel-dynamic-router
+
+The `dynamic-router-control` endpoint no longer takes the subscription 
`predicate`, or the
+`expressionLanguage` used to compile it, from the incoming control message. A 
control message that
+supplies either is now rejected with an `IllegalArgumentException`.
+
+The predicate is compiled and then evaluated against every exchange on the 
channel, so letting the
+control message choose both the language and the expression means the sender 
of that message decides
+what runs inside the Camel process. Only enable this when control messages can 
only come from a
+trusted source:
+
+[source,java]
+----
+from("kafka:subscriptions")
+    .unmarshal().json(DynamicRouterControlMessage.class)
+    .to("dynamic-router-control:subscribe?allowPredicateFromMessage=true");
+----
+
+Two alternatives avoid the flag entirely. A control message may still name a 
`predicateBean`, which
+selects a `Predicate` that the route author bound in the registry; that path 
is unchanged. The
+control endpoint may also carry `predicate` and `expressionLanguage` as URI 
parameters, in which case
+every subscription made through that endpoint uses the route author's 
expression. Subscription
+parameters that the control message does not carry now fall back to the values 
configured on the
+endpoint.
+
+Note that this release line does not carry the `allowedSchemes` option added 
to the `dynamic-router`
+endpoint on newer lines, nor the `security = "insecure:dev"` marker on 
`allowPredicateFromMessage`,
+because neither the option allow-list nor the security policy framework exists 
in 4.18.
+
+=== camel-ftp, camel-sftp, camel-ftps, camel-mina-sftp, camel-azure-files, 
camel-smb
+
+The remote-file consumers now ensure the path resolved for a polled file stays 
within the directory being
+polled. The file name that path is built from is reported by the remote server 
in its directory listing and is
+not guaranteed to be a single path segment, so a listing entry containing 
`../` sequences could previously
+resolve to a path outside the configured directory and be used as the operand 
for retrieving, deleting or
+renaming a file.
+
+The containment check honours the existing `jailStartingDirectory` option 
(default `true`), consistent with the
+file producer and with the `localWorkDirectory` download path; set 
`jailStartingDirectory=false` to disable it.
+A file that resolves outside the configured directory is now skipped, and a 
warning is logged.
+
+Ordinary listings are unaffected, as a listed name is normally a single path 
segment, and a `../` that still
+resolves back inside the polled directory remains accepted. Two configurations 
can newly see files skipped: a
+server that reports names navigating above the polled directory, and a 
`fileName` expression (used when
+`useList=false`) that navigates above it. Set `jailStartingDirectory=false` if 
such a path is intended.
+
+=== camel-azure-storage-blob and camel-azure-storage-datalake
+
+Local downloads configured with `fileDir` now resolve existing filesystem path 
segments before checking
+that the destination remains inside the configured directory. Downloads 
through a symbolic link that
+resolves outside `fileDir` are rejected. Valid nested download paths continue 
to work.
+
+=== camel-google-storage
+
+Local downloads configured with a plain `downloadFileName` directory now 
resolve existing filesystem
+path segments before checking that the destination remains inside that 
directory. Downloads through a
+symbolic link that resolves outside the configured directory are rejected. 
Valid object names using `/`
+as a pseudo-directory separator continue to work.
+
+=== camel-spring-redis - the default serializer applies a deserialization 
filter
+
+The default serializer, `JdkSerializationRedisSerializer`, now installs a
+`java.io.ObjectInputFilter` while reading Redis payloads. Previously no filter 
was applied at all.
+This affects both the consumer, which deserializes the payload of every 
message published to the
+subscribed channels, and the producer read commands, which deserialize the 
values stored in Redis.
+
+When no explicit pattern is configured, the JVM-wide `jdk.serialFilter` is 
honoured if set,
+otherwise a conservative default allow-list is applied (it permits standard 
Java and Apache Camel
+types and denies `java.net.**`). Routes that exchange classes outside that 
allow-list must widen it
+through the new `deserializationFilter` endpoint option, for example:
+
+[source,java]
+----
+from("spring-redis://localhost:6379?command=SUBSCRIBE&channels=myChannel"
+     + "&deserializationFilter=com.example.model.**;java.**;!*")
+----
+
+Setting the `serializer` option to a custom `RedisSerializer` bypasses the 
filter entirely, since
+Camel then no longer controls how the payload is read.
+
+=== camel-google-mail - the raw option now returns the message
+
+The `google-mail-stream` consumer always asked the Gmail API for the `FULL` 
message format, but the
+`raw` field is only populated for the `RAW` format, so `raw=true` produced a 
`null` body. The consumer
+now requests the format that matches the option.
+
+Because the Gmail API does not return the parsed `payload` for the `RAW` 
format, a route running with
+`raw=true` no longer receives the `CamelGoogleMailStreamSubject`, `...From`, 
`...To`, `...Cc`, `...Bcc`
+and `...MessageId` headers — those values are part of the RFC 2822 content 
that is now in the body.
+`CamelGoogleMailStreamId`, `...ThreadId` and `...LabelIds` are still set. 
Routes that need the parsed
+headers should keep the default `raw=false`.
+
+=== camel-google-vertexai - the jsonMode option is now applied
+
+The option was declared and documented but never read, so it had no effect. 
`jsonMode=true` now sets
+the response MIME type of the request to `application/json`, so the model is 
asked to answer with
+JSON. The default `false` leaves the request untouched.
+
+=== camel-infinispan - the aggregation repository keeps completed exchanges 
for recovery
+
+`InfinispanAggregationRepository` implements 
`RecoverableAggregationRepository`, but it had no recovery
+store: `remove` deleted the completed exchange outright, `confirm` removed the 
exchange id from a cache
+keyed by correlation key, and `scan` returned the correlation keys of the 
aggregations still in progress.
+The recovery task therefore re-delivered aggregations that were still 
accumulating, marked them
+`CamelRedelivered`, and sent them to the dead letter channel once 
`maximumRedeliveries` was reached, while
+exchanges that genuinely failed after completion could never be recovered.
+
+A completed exchange is now kept in the same cache under a 
`camel-recovery:<exchange id>` key until it is
+confirmed, which is what `scan` reports and `recover` reads. `getKeys` 
continues to report only the
+aggregations in progress.
+
+Routes that set `useRecovery=false` are unaffected. Routes that left recovery 
enabled, which is the
+default, stop seeing in-progress aggregations re-delivered, and start seeing 
genuine recovery. The cache
+now also holds one entry per completed and not yet confirmed exchange; those 
entries are removed on
+confirmation.
+
+=== camel-vertx-http - the REST producer applies the outbound header filter
+
+`VertxHttpRestHeaderFilterStrategy.applyFilterToCamelHeaders` delegated to
+`applyFilterToExternalHeaders`, so it consulted the inbound filter while 
implementing the outbound
+direction. The outbound filter that `VertxHttpHeaderFilterStrategy` installs 
was therefore never
+applied, and the sibling REST strategies in `camel-http-common`, 
`camel-netty-http` and
+`camel-undertow` all delegate to the matching method.
+
+A REST producer that resolves to `vertx-http` and does not configure its own 
`headerFilterStrategy`
+now filters the common HTTP headers on the outbound direction, as the other 
HTTP components already
+did. A message header named `Content-Length`, `Content-Type`, `Host`, 
`Cache-Control`, `Connection`,
+`Date`, `Pragma`, `Trailer`, `Transfer-Encoding`, `Upgrade`, `Via` or 
`Warning` is no longer copied
+onto the outgoing request; the `Content-Type` of the request is still taken 
from the exchange as
+before. Headers consumed by the URI template or the query parameters continue 
to be filtered, and a
+custom `headerFilterStrategy` is used as-is and is unaffected.
+
+Routes that relied on one of those headers reaching the wire must set it 
through the endpoint
+configuration or supply a `headerFilterStrategy` that permits it.
+
+=== camel-jgroups - the consumer applies a deserialization filter by default
+
+The consumer maps an incoming cluster message to the exchange body by calling
+`org.jgroups.Message.getObject()`, which Java-deserializes the payload. The 
class of that body is
+now checked against a JEP-290 `java.io.ObjectInputFilter`. Previously no 
filter was applied at all,
+and any type a cluster peer sent was routed.
+
+When no explicit pattern is configured, the JVM-wide `jdk.serialFilter` is 
honoured if set,
+otherwise a conservative default allow-list is applied
+(`+!java.net.**;java.**;javax.**;org.apache.camel.**;!*+`), matching the 
default the other components
+that can receive Java-serialized payloads have applied since 4.18.3. Routes 
that exchange their own
+classes over the cluster must widen it through the new `deserializationFilter` 
endpoint option, for
+example:
+
+[source,java]
+----
+from("jgroups:clusterName?deserializationFilter=com.example.model.**;java.**;!*")
+----
+
+Setting `deserializationFilter=*` accepts any type and so restores the 
previous behavior. A refused
+message is not routed; it is reported to the consumer's `ExceptionHandler`, 
which logs it at WARN
+level by default.
+
+Note that JGroups deserializes the payload inside its own receive path, so 
this check is a
+defense-in-depth allow-list on the resulting body type. The JVM-wide 
`jdk.serialFilter`, together
+with a channel secured with `AUTH` and encryption, remain the primary 
mitigations.
+
+=== camel-smooks - external XML entity resolution disabled by default
+
+The Smooks data format and the Smooks component now parse XML input with a 
reader that does not
+resolve external general or parameter entities, aligning camel-smooks with the 
XML parser
+configuration already applied by the other Camel XML components. When a Smooks 
configuration parses
+XML with the default reader, an untrusted body can no longer pull in external 
entities (for example
+`<!ENTITY x SYSTEM "file:///...">` or an `http://` reference).
+
+This only affects configurations that use the default XML reader. 
Configurations that declare their
+own reader — EDI, CSV, JSON, DFDL, or a custom reader — are unchanged, and 
marshalling is unchanged.
+Documents carrying an internal DTD subset still parse.
+
+To restore the previous behaviour and allow external entity resolution, set 
the new
+`allowExternalEntities` option to `true` on the data format or on the endpoint
+(`smooks:config.xml?allowExternalEntities=true`).
+
+=== camel-mustache, camel-chunk - potential breaking change
+
+The Exchange header constants in `MustacheConstants` and `ChunkConstants` have 
been renamed to
+follow the Camel naming convention used across the rest of the component 
catalog (so that they are
+handled consistently by `DefaultHeaderFilterStrategy`, like the other template 
components). The Java
+field names are unchanged; only the header string values have changed.
+
+`MustacheConstants`:
+
+[options="header"]
+|===
+| Constant | Previous value | New value
+| `MustacheConstants.MUSTACHE_RESOURCE_URI` | `MustacheResourceUri` | 
`CamelMustacheResourceUri`
+| `MustacheConstants.MUSTACHE_TEMPLATE` | `MustacheTemplate` | 
`CamelMustacheTemplate`
+|===
+
+`ChunkConstants`:
+
+[options="header"]
+|===
+| Constant | Previous value | New value
+| `ChunkConstants.CHUNK_RESOURCE_URI` | `ChunkResourceUri` | 
`CamelChunkResourceUri`
+| `ChunkConstants.CHUNK_TEMPLATE` | `ChunkTemplate` | `CamelChunkTemplate`
+|===
+
+Both components read these headers only when `allowTemplateFromHeader=true`. 
Because the old names sat
+outside the `Camel` namespace, `DefaultHeaderFilterStrategy` did not strip 
them, so such a header
+arriving from an untrusted sender reached the producer; with the `Camel` 
prefix the headers are now
+filtered at the component boundary, so the template or resource can only come 
from the route. For that
+reason the old names should not simply be restored.
+
+Routes that reference the constants (for example 
`setHeader(MustacheConstants.MUSTACHE_TEMPLATE, ...)`)
+are unaffected. Routes that set the header by its literal string name, or that 
use
+`allowTemplateFromHeader=true` with the old header names, must switch to the 
new `Camel`-prefixed
+names.
+
+=== camel-saga
+
+The `saga:complete` and `saga:compensate` endpoints now follow the same rule 
as the Saga EIP: when the
+exchange is not bound to a saga, the `Long-Running-Action` message header is 
consulted only if the
+configured `CamelSagaService` returns `true` from 
`isLongRunningActionHeaderSupported()`, as
+`LRASagaService` does. With the default `InMemorySagaService` the header is 
ignored, and sending an
+exchange that is not bound to a saga to these endpoints fails with 
`IllegalStateException`.
+
+Exchanges created inside a saga, including copies made by EIPs such as Wire 
Tap, Multicast or SEDA,
+stay bound to it and are not affected. A route that completes or compensates 
an in-memory saga from an
+unrelated exchange must bind it explicitly from trusted code, for example with
+`exchange.getExchangeExtension().setSagaLongRunningAction(id)`.
+
+=== camel-coap
+
+The CoAP consumer now answers a failed exchange with `5.00 Internal Server 
Error`, and no longer returns
+the exception's message to the client.
+
+Previously the consumer did not check whether the exchange had failed: a route 
failure was answered with
+`2.05 Content` and whatever body the message held when the route failed. When 
the response could not be
+built once the route had completed, for example because the body could not be 
converted to `byte[]`, the
+exception's message was sent to the client as the payload of a `5.00 Internal 
Server Error` response.
+
+A new `muteException` consumer option controls the payload of the error 
response, and it defaults to
+`true`, the same default as the HTTP consumers and the `camel-knative`, 
`camel-mina`, `camel-cxf` and
+`camel-grpc` consumers: the payload is empty. A route that relies on the 
exception's message reaching the
+client must opt back in explicitly:
+
+[source,text]
+----
+coap://0.0.0.0:5683/my/resource?muteException=false
+----
+
+For the Rest DSL, set it with 
`restConfiguration().endpointProperty("muteException", "false")`.
+
 == Upgrading from 4.18.3 to 4.18.4
 
 === camel-core - Multicast EIP honors UseOriginalAggregationStrategy
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 a508283900f6..b049bc607084 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
@@ -13,6 +13,15 @@ See the xref:camel-upgrade-recipes-tool.adoc[documentation] 
page for details.
 
 == Upgrading from 4.22.3 to 4.22.4
 
+=== Rest DSL - CORS credentials require a configured origin
+
+When CORS is enabled with `Access-Control-Allow-Credentials=true` 
(`corsAllowCredentials(true)`) and
+`Access-Control-Allow-Origin` is left at its default `*`, the response no 
longer echoes the `Origin` of the request
+and leaves out `Access-Control-Allow-Credentials`. Camel logs a WARN when the 
routes start. To allow credentials,
+configure the allowed origin, for example 
`corsHeaderProperty("Access-Control-Allow-Origin", "https://app.example.com";)`.
+
+=== camel-openai, camel-spring-ai-chat - the path of the mcpServer url is the 
endpoint of the MCP server
+
 === camel-paho - consumer restarts route after resubscribe failure on reconnect
 
 When `automaticReconnect=true` and the MQTT broker reconnects, the consumer 
now restarts the route
diff --git a/docs/user-manual/modules/ROOT/pages/rest-dsl-binding.adoc 
b/docs/user-manual/modules/ROOT/pages/rest-dsl-binding.adoc
index 207b25dac28f..af26740fb340 100644
--- a/docs/user-manual/modules/ROOT/pages/rest-dsl-binding.adoc
+++ b/docs/user-manual/modules/ROOT/pages/rest-dsl-binding.adoc
@@ -578,3 +578,8 @@ value.
 |`Access-Control-Allow-Headers` |Origin, Accept, X-Requested-With, 
Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers
 |`Access-Control-Max-Age` |3600
 |===
+
+`Access-Control-Allow-Credentials` is not set by default. You can set it with 
`corsAllowCredentials(true)`, but
+credentials are only allowed for an origin you configure in 
`Access-Control-Allow-Origin`, such as
+`https://app.example.com`. With the default origin `*` the 
`Access-Control-Allow-Credentials` header is left out of the
+response, and Camel logs a WARN when the routes start.

Reply via email to