osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to run multiple activemq broker on same path in windows?


Am tried with activemq create instance1 
https://dzone.com/articles/running-multiple-activemq
<https://dzone.com/articles/running-multiple-activemq>  

Also modified activemq.xml and jetty.xml port

created config and bin folder but not started activemq broker.

Show FileNotFoundException (conf\credentials.properties, data\activemq.log
and data\audit.logis incorrect) But specific path contains above files.

Am used apache activemq-v5.15.3

Here is my modified .bat file

@echo off
set ACTIVEMQ_HOME="D:/work/apache-activemq-5.15.3"
set ACTIVEMQ_BASE="D:/work/apache-activemq-5.15.3/instance1"
set ACTIVEMQ_CONF="%ACTIVEMQ_BASE%/conf"
set ACTIVEMQ_DATA="%ACTIVEMQ_BASE%/data"

set PARAM=%1
:getParam
shift
if "%1"=="" goto end
set PARAM=%PARAM% %1
goto getParam
:end

%ACTIVEMQ_HOME%/bin/activemq %PARAM%



--
Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html