wiki:openAMQ

Document

*http://www.openamq.org/main:documentation

Install

  1. Build Require: C/C++ compiler, packages and libraries.
      sudo apt-get install build-essential
    
  2. Download:
      http://download.imatix.com/openamq/unstable/OpenAMQ-1.3c0.tar.gz
    
  3. Set the IBASE directory
      IBASE=$HOME/ibase
      export IBASE
    
  4. Set path
      PATH=$IBASE/bin:$PATH
      export PATH
    
  5. 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.
  6. Unpack
      tar zxvf OpenAMQ-1.3c0.tar.gz
    
  7. Build
      cd OpenAMQ-1.3c0
      sh build.sh
    
  8. 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
      

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 -h

modify 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