This content has been marked as final.
Show 2 replies
-
1. Re: Variable Substitution in standalone.xml
ctomc Apr 20, 2016 6:58 AM (in response to johnny_kleinlercher)Well WildFly has supported this since its inception
just look for WildFly expressions https://docs.jboss.org/author/display/WFLY10/Expressions
in short you have syntax like ${name.of.system.property:defaultValue}
or even ${env.name-of-env-variable:defaultValue} which can be used pretty much everywhere in the configuration (except for model references/ids)
-
2. Re: Variable Substitution in standalone.xml
arun2arunraj Apr 20, 2016 6:58 AM (in response to johnny_kleinlercher)Hi Johannes Kleinlercher,
Yes you can do it. Check System Property tag in standalone.xml which will help you out to fix this.
eg:
<system-properties> <property name="ip_address" value="192.168.35.10" boot-time="true"/> <property name="port_number" value="3600" boot-time="true"/>
</system-properties>