-
1. Re: Access jboss directory path entry in switchyard.xml
dward Aug 12, 2013 10:53 AM (in response to divyaigal)System property configuration value substitution wasn't fully supported until version 0.8, per jira SWITCHYARD-1268. However, if you are going to upgrade (as you should; 0.4 is very old), I would suggest moving to 1.0.0.Final, which is available now. You can find it ont he Downloads page, and information about property replacement on the Properties documentation page. The correct form would be using the "dollar curlies" method, i.e.: <property name="dataDir" value="${jboss.server.data.dir}"/>
-
2. Re: Access jboss directory path entry in switchyard.xml
divyaigal Aug 13, 2013 12:12 AM (in response to dward)Hi David,
Thanks for your reply.
We are thinking of moving to Switchyard 1.0 ultimately, but not right now.
It will take a lot of effort for us to move to a higher version currently.
Is there any other alternative that this can be done, using 0.4 ?
-
3. Re: Access jboss directory path entry in switchyard.xml
dward Aug 13, 2013 10:49 AM (in response to divyaigal)1 of 1 people found this helpfulSorry, no. You could have a script (or use ant or maven) to filter your switchyard.xml file before deployment, but that's not the same as runtime property replacement