...
Download the openmq installation script into the
netarchive
dir.
Install the openmq broker with:
Code Block |
---|
chmod +x mq.sh ./mq.sh install |
This will download openmq, install and start it.
...
Edit settings to allow for enough listeners to a queue by doing
edit
Code Block |
---|
$IMQ_HOME/var/mq/instances/imqbroker/props/config.properties
|
...
uncomment and specify count=20 for listeners by changing line
Code Block |
---|
# imq.autocreate.queue.maxNumActiveConsumers |
to
Code Block |
---|
imq.autocreate.queue.maxNumActiveConsumers=20 |
To start it, do the following:
...
OpenMQ will as defaut be installed to ~/openmq4.5. A alternative installdir can be defined the installdir variable, eg.
Code Block |
---|
export installdir="netarchive/openmq"
./mq.sh install |
Installation
Download the following files to the netarchive directory:
...