I have ejb-jar.xml which contains configuration information for one of my MDB. It has a configuration:
<activation-config-property> <activation-config-property-name>addressList</activation-config-property-name> <activation-config-property-value>mq://test.server.uk:7676</activation-config-property-value> </activation-config-property>
As my project is built and packaged, and then distributed to users, I need to be able to make sure that this value can be changed, because users have different server addresses.
Currently, I have the ability to set the address in the properties file. Anyway, can I change this xml during deployment to glassfish 4.0 with a property value?
If I donโt have to set a value every time someone wants an application and rebuild it?
I am open to hosting another configuration, where I just need to have it dynamic so that users can set server addresses in the properties file.
source share