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 52f9f503b04 typo fix with property placeholder (#14047)
52f9f503b04 is described below

commit 52f9f503b04f86cbd05c338f617c0c2d67d2a7aa
Author: Vladislav Botvin <darkvla...@gmail.com>
AuthorDate: Fri May 3 15:33:11 2024 +0300

    typo fix with property placeholder (#14047)
    
    * typo fix with property placeholder
    
    * typo fix with property placeholder
---
 core/camel-base/src/main/docs/properties-component.adoc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/camel-base/src/main/docs/properties-component.adoc 
b/core/camel-base/src/main/docs/properties-component.adoc
index ba6c6397793..f69486fdfb4 100644
--- a/core/camel-base/src/main/docs/properties-component.adoc
+++ b/core/camel-base/src/main/docs/properties-component.adoc
@@ -46,7 +46,7 @@ For example:
 
 [source]
 ----
-location=file:${karaf.home}/etc/foo.properties
+location=file:{{sys:karaf.home}}/etc/foo.properties
 ----
 
 In the location above we defined a location using the file scheme using the 
JVM system property with key `karaf.home`.
@@ -57,7 +57,7 @@ You can also prefix with `env.`, however this style is not 
recommended because a
 
 [source]
 ----
-location=file:${env:APP_HOME}/etc/foo.properties
+location=file:{{env:APP_HOME}}/etc/foo.properties
 ----
 
 Where `APP_HOME` is an OS environment.
@@ -72,7 +72,7 @@ You can have multiple placeholders in the same location, such 
as:
 
 [source]
 ----
-location=file:${env:APP_HOME}/etc/${prop.name}.properties
+location=file:{{env:APP_HOME}}/etc/{{prop.name}}.properties
 ----
 
 === Defining location of properties files in Spring XML
@@ -113,7 +113,7 @@ For fine grained configuration of the location, then this 
can be done as follows
       optional = "false"/>
     <propertiesLocation
       resolver = "file"
-      path     = "${karaf.home}/etc/my-override.properties"
+      path     = "{{sys:karaf.home}}/etc/my-override.properties"
       optional = "true"/>
    </propertyPlaceholder>
 </camelContext>

Reply via email to