That works great, and to use the same within the wrapper.config, just add a
new line with the following

wrapper.app.parameter.2=xbean:alternateConfig.xml

Thanks again,
Osh


James.Strachan wrote:
> 
> On 3/26/07, osian <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>>
>> Is it possible to, when launching ActiveMQ, from either the command line
>> or
>> as a windows service (through the wrapper.conf file), to tell activemq to
>> use a different activemq.xml configuration file? e.g. a file located in
>> ACTIVEMQ_HOME/conf/alternateConfig.xml
> 
> More details here...
> http://activemq.apache.org/broker-configuration-uri.html
> 
> basically you just use
> 
> activemq xbean:myconfig.xml
> 
> where myconfig.xml is on the classpath.
> 
> in 4.2 we support arbitrary URLs
> http://activemq.apache.org/broker-xbean-uri.html
> 
> -- 
> 
> James
> -------
> http://radio.weblogs.com/0112098/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Launching-ActiveMQ-with-an-Alternative-activemq.xml-configuration-file-tf3466983s2354.html#a9674150
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to