Skip to content

Commit

Permalink
document PR 468
Browse files Browse the repository at this point in the history
  • Loading branch information
ar committed Jan 18, 2022
1 parent 98f3e6c commit 1341942
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/src/asciidoc/ch03/configuration.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ configuration object by calling the +setConfiguration+ method on
----
<object name="myObject" class="com.mycompany.MyObject">
<property name="myProperty" value="any Value" />
<property file="cfg/myprops.yml" />
</object>
----

Expand Down Expand Up @@ -174,3 +175,12 @@ The 'port' variable would be picked from:

from the QBean or participant configuration.

[TIP]
=====
When using multiple environments (i.e. `-Eprod -Enode1`) you can specify
`<property file="cfg/myconfig.yml" env="true" />`
and the system will load the files `myconfig.yml`, `myconfig-prod.yml` and `myconfig-node1.yml`.
=====

0 comments on commit 1341942

Please sign in to comment.