Hello,
I want to ask if there is a possibility to use custom properties in jboss-esb.xml.
Let's suppose that there is a property called e.g. server.
I want to use this server property like this:
<action name="soapui-client-action" class="org.jboss.soa.esb.actions.soap.SOAPClient">
<property name="wsdl" value="http://${server}:8080/Services/CalculatorService?wsdl"/>
<property name="SOAPAction" value="getBooks"/>
</action>
Is there such possibility?
So in the classpath or somewhere would be e.g. configuration.properties file containing:
server=192.168.1.2
Thanks in advance for answer.
You can use the properties service - take a look at :
https://community.jboss.org/wiki/PropertiesService
This also is a pretty good explanation :
http://pontus.ullgren.com/view/Creating_reusable_JBoss_ESB_archives