[ https://issues.apache.org/activemq/browse/AMQ-997?page=all ]

Hiram Chirino resolved AMQ-997.
-------------------------------

    Resolution: Fixed

implemented.

> Use the ACTIVEMQ_BASE environment variable to support running multiple broker 
> instances from he same activemq install
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-997
>                 URL: https://issues.apache.org/activemq/browse/AMQ-997
>             Project: ActiveMQ
>          Issue Type: New Feature
>            Reporter: Hiram Chirino
>         Assigned To: Hiram Chirino
>             Fix For: 4.1
>
>
> The activemq startup shell scripts are allready using / find the 
> ACTIVEMQ_HOME which is where AcitiveMQ has been installed.  Currently, you 
> can only run one instance of the broker per ActiveMQ installation directory.  
> We should support running multiple broker instances using that same 
> ACTIVEMQ_HOME.  All the per broker instance variable data should be relative 
> to a new ACTIVEMQ_BASE enviroment variable.
> By default the ACTIVEMQ_BASE == ACTIVEMQ_HOME so that sarting up the default 
> activemq instance continues to behave as it allways has.
> Createing a new per instance directory, as admin should only have to do:
> {code}
> export ACTIVEMQ_BASE=/path/to/new/directory
> mkdir -p ${ACTIVEMQ_BASE}
> cp -R ${ACTIVEMQ_HOME}/conf ${ACTIVEMQ_BASE}
> {code}
> customize the  ${ACTIVEMQ_BASE}/conf/activemq.xml file 
> And to run the new instance:
> {code}
> export ACTIVEMQ_BASE=/path/to/new/directory
> ${ACTIVEMQ_HOME}/bin/activemq
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to