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

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

commit 1864678e08fca3c974eca8a5a3cc24278790d19f
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Feb 28 16:10:28 2024 +0100

    CAMEL-20481: camel-core - Rest DSL should resolve placeholder for 
context-path and others
---
 .../ROOT/pages/camel-4x-upgrade-guide-4_4.adoc     | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git 
a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc 
b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc
index b11b5545d81..f0b90200489 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc
@@ -4,6 +4,37 @@ This document is for helping you upgrade your Apache Camel 
application
 from Camel 4.x to 4.y. For example, if you are upgrading Camel 4.0 to 4.2, 
then you should follow the guides
 from both 4.0 to 4.1 and 4.1 to 4.2.
 
+== Upgrading Camel 4.4.0 to 4.4.1
+
+=== Rest DSL
+
+Rest DSL will now eager resolve property placeholders that are used during 
building the `rest:` endpoint.
+For example with a Rest DSL using a placeholder (`app.mypath = helloapp`) in 
the `path`:
+
+[source,yaml]
+----
+- rest:
+    path: "{{app.mypath}}"
+    post:
+      - to: direct:demo
+----
+
+Will not be resolved in the `rest` endpoint which can be seen during startup 
logging:
+
+[source,text]
+----
+Routes startup (total:2)
+Started demo (rest://post:%7B%7Bapp.mypath%7D%7D)
+----
+
+The placeholder is now resolved eager, and you will see _nicer_ startup logs 
such as:
+
+[source,text]
+----
+Routes startup (total:2)
+Started demo (rest://post:helloapp)
+----
+
 == Upgrading Camel 4.3 to 4.4
 
 === camel-core

Reply via email to