This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new ed8d9f1bb0da Update docs
ed8d9f1bb0da is described below
commit ed8d9f1bb0daea39856b31a0788eddad9496039c
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Mar 13 13:05:05 2026 +0100
Update docs
---
.../modules/ROOT/pages/using-propertyplaceholder.adoc | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/docs/user-manual/modules/ROOT/pages/using-propertyplaceholder.adoc
b/docs/user-manual/modules/ROOT/pages/using-propertyplaceholder.adoc
index 126b76155e7c..c197db4901e5 100644
--- a/docs/user-manual/modules/ROOT/pages/using-propertyplaceholder.adoc
+++ b/docs/user-manual/modules/ROOT/pages/using-propertyplaceholder.adoc
@@ -861,6 +861,17 @@ YAML::
----
====
+[NOTE]
+====
+Property placeholders can also be used in `application.properties` files, also
with the functions such as ENV as shown:
+
+[source,properties]
+----
+# server name read from ENV and fallback to use localhost as default value
+myserver = {{env:MY_SERVER_NAME:localhost}}
+----
+====
+
TIP: The boolean function uses the
xref:components:languages:simple-language.adoc[Simple] language which has many
functions and operators to build the condition.
The service function is for looking up a service which is defined using OS
environment variables using the service naming idiom, to refer to a service
location using `hostname : port`