activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Rodriguez <>
Subject deployment of hundreds of client. broker name configuration problem?
Date Fri, 04 Dec 2009 08:10:04 GMT
Dear all,
In need your advice in the following configuration scenario: we are
deploying ActiveMQ 5.3 in a big number of machines. The configuration is
exactly the same for all the machines, the only difference is, of course,
the broker name. As they need to be unique, they need to be changed in all
the machines, creating a very repetitive yet time consuming task that would
be to modify the activemq.xml file.
Is there a way to use a environment variables in the configuration file (to
put the hostname of the machine as the broker name)?
I see there is already some configuration possible through the
eg.springframework.beans.factory.config.PropertyPlaceholderConfigurer class,
but those properties are static. I guess I can create a deploy script that
created my own properties file that will put the hostname in it, but that
property would only be created or refreshed when I deploy the service.
This is not the ideal solution as the hostname might change in the machine
life, so I'm seeking for your advice in the matter.
Thank you very much for your help,
Sebastien Rodriguez

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message