Document
Install
- Build Require:
C/C++ compiler, packages and libraries.
sudo apt-get install build-essential
- Download:
http://download.imatix.com/openamq/unstable/OpenAMQ-1.3c0.tar.gz
- http://download.imatix.com/openamq/stable - stable production packages
- http://download.imatix.com/openamq/unstable - older versions of OpenAMQ
- http://download.imatix.com/openamq/previous - new unstable releases
- Set the IBASE directory
IBASE=$HOME/ibase export IBASE
- Set path
PATH=$IBASE/bin:$PATH export PATH
- Choose a build model
BOOM_MODEL="mt,debug" export BOOM_MODEL
- Default model is "mt,release".
- BOOM_MODEL=st - single-threaded, useful for single-core servers.
- BOOM_MODEL=mt - multi-threaded, ideal for servers with two or more cores.
- BOOM_MODEL=debug - with full debugging information.
- BOOM_MODEL=release - optimised, without debugging information.
- Unpack
tar zxvf OpenAMQ-1.3c0.tar.gz
- Build
cd OpenAMQ-1.3c0 sh build.sh
- Local Test
- Server:
amq_server
If it successes.OpenAMQ/x.xxx 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
- Client:
amq_client
- Server:
Setting
- Path:ibase\bin
- amq_server.exe
- amq_server_base.cfg
- You can place the configuration file "amq_server.cfg" in the directory where you run the server.
- amq_console_schema.cml
You can see the detail configurations by the following command:
amq_server -hmodify the coniguration file "amq_server.cog":
amq_server.cfg: ------------------------------------------------------------------------ <?xml?> <config> <server port = "5672" listen = "*" queue_timeout = "0" vhost = "/" /> <resources monitor = "0" dump_state = "60" /> <logging debug_route = "0" debug_queue = "0" debug_peering = "0" /> </config>
Reference
http://www.openamq.org/ openAMQ
Last modified 16 years ago
Last modified on Dec 23, 2008, 3:14:42 PM