OpenAMQ has been validated on these Unix/Linux systems:
It may not build and/or not operate correctly on other Unix systems. If you need help to build OpenAMQ on other Unix systems please contact us.
*Note:
For optimal performance on Solaris, we recommend using Solaris 10 or newer, and compiling OpenAMQ with the Sun Studio 11 compilers.
The OpenAMQ libraries and executables are installed into the directory defined by the environment variable IBASE (the shared install base for all iMatix products).
Define IBASE using a command following this example:
$ IBASE=$HOME/ibase $ export IBASE
You can add these commands to your shell startup script so that you do not need to retype them in each shell window.
To correctly access the OpenAMQ executables, you must place the IBASE/bin directory on your path. Do this using these commands:
$ PATH=$IBASE/bin:$PATH $ export PATH
You can add these commands to your shell startup script so that you do not need to retype them in each shell window.
From the same OpenAMQ source kit you can build many variations of the software:
The default build is mt,release. To choose a different build, set the BOOM_MODEL environment variable following this example: $ BOOM_MODEL="mt,debug" $ export BOOM_MODEL
You can add these commands to your shell startup script so that you do not need to retype them in each shell window.
After downloading the OpenAMQ source kit, move it to a working directory with sufficient disk space and then unpack the source code using this command:
$ tar zxvf /path/to/OpenAMQ-1.2c4.tar.gz $ cd /path/to/OpenAMQ-1.2c4
After setting IBASE, your PATH, and BOOM_MODEL, build the software using this command, in the OpenAMQ-1.2c4 directory:
$ sh build.sh
After a successful build, start the server as follows:
$ amq_server OpenAMQ/1.2c4 Production release Copyright (c) 2007 iMatix Corporation This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 2006-05-09 10:12:41: W: security warning - console login uses default password 2006-05-09 10:12:42: I: server ready for incoming AMQ connections
And in a second window, start the test client as follows:
$ amq_client
The client will create a temporary queue on the server, send a single message to its own queue, and read the message back off its queue. To stop the server, press Ctrl-C.
More information: Running Your Server