L.S., The creation/startup of the ActiveMQ broker is controlled through the etc/org.apache.activemq.server-default.cfg file. In order to create a second ActiveMQ broker, you can create another file with a similar naming convention (e.g. etc/org.apache.activemq.server-secondary.cfg) and provide a new broker name/data/config in the second file.
You can even add more variables to those config files and use them to reuse the same activemq.xml file. For example: if you add an openwire-port=61616 and update the activemq.xml file to use that variable, you can use the same activemq.xml from more than one broker, by simply specifying another port number in those config files. Regards, Gert Vanthienen Regards, Gert Vanthienen On Thu, Jun 11, 2015 at 11:04 AM, cr0que <[email protected]> wrote: > I can't figure out how to create a second ActiveMQ broker in SMX 5.4.0. The > activemq-command in Karaf used to have an option "create-broker" that don't > exist anymore. The default broker seems to be installed as a feature, is > there a simple way of just create a 2nd broker with a new name and port? > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/Create-a-2nd-ActiveMQ-Broker-tp5722681.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
