How to configure multiple ActiveMQ instances in a single base installation
As this is somewhat undocumented on the apachemq web site, this is an extract of what was done on sandkasse-01 in order to run multiple activemq instances.
each instance has its own directory tree below /usr/local/apache-activemq-5.5.0, ie. /usr/local/apache-activemq-5.5.0/instance1, /usr/local/apache-activemq-5.5.0/instance2, ...
each instance had its port numbers in <instance>/conf/activemq.xml and conf/jetty.xml edited, so instance1 listens on port 60001 and is managed on port 8001, instance2 on 60002 and 8002, instance3 on 60003 and 8003
To debug or trace an instance start it as follows:
or with SSL debugging enabled: