Red Hat JBoss A-MQ

A small-footprint, high-performance messaging platform.

Red Hat JBoss A-MQ

Thank you for downloading

Your download should start automatically. If you have any problems with the download, please use the direct link.

Hello World!

1. Set up your Dev Environment

5 minutes


Download, install and configure JBoss A-MQ:

  1. Download and extract:

    1. Download the latest version of Red Hat JBoss A-MQ. The latest at the time of this writing is Red Hat JBoss A-MQ 6.3.0 GA.

    2. Unzip JBoss A-MQ to any destination. The document will refer to this directory as AMQ_HOME

      • On Windows or Mac, you can extract the contents of the ZIP archive by double clicking on the ZIP file.

      • On Red Hat Enterprise Linux, open a terminal window in the target machine and navigate to where the ZIP file was downloaded. Extract the ZIP file by executing the following command:


  2. Add users to A-MQ:

    Edit the file AMQ_HOME/etc/ Uncomment the last line so that systems can connect and access the message broker. The last line of the file has a # mark as the first character. Delete it and save the file. The edited last line should now look similar to this:

    admin=admin,admin,manager,viewer,Operator,Maintainer,Deployer, Auditor,Administrator,SuperUser

  3. Start the A-MQ broker: Scripts to start and stop the A-MQ broker are found within the AMQ_HOME/bin directory.

    • For Windows: Double-click on the AMQ_HOME/bin/start.bat file and accept security pop-ups as they appear.

    • For Red Hat Enterprise Linux and Mac: Execute the following command:


      To check the status of the A-MQ broker you can execute the status script found in the same directory as the start script. To learn more about the various scripts see the customer portal.​

{"preview_thumbnail":"/sites/default/files/styles/video_embed_wysiwyg_preview/public/video_thumbnails/184305594.jpg?itok=oy8M-UNP","video_url":"","settings":{"responsive":1,"width":"854","height":"480","autoplay":0},"settings_summary":["Embedded Video (Responsive)."]}

2. Install, Configure, and Verify

1 minutes


Connecting to A-MQ:

  1. You may execute following command to check thes messages have been enqueue/dequeued

    • For Linux/MAC:

      AMQ_HOME/bin/client activemq:dstat

    • For Windows:

      AMQ_HOME\bin\client.bat activemq:dstat

  2. Or simply go to the administration console and login with ID:admin and PASSWORD:admin

3. Build your first JBoss A-MQ application

1 minutes


Produce and consume messages:

  1. Sending messages to broker

    • For Linux/MAC:

      AMQ_HOME/bin/client "activemq:producer --user <Username> --password <Password>"

    • For Windows:

      AMQ_HOME\bin\client.bat "activemq:producer --user <Username> --password <Password>"

  2. Consume messages from broker:

    • For Linux/MAC:

      AMQ_HOME/bin/client "activemq:consumer --user <Username> --password <Password>"

    • For Windows:

      AMQ_HOME\bin\client.bat "activemq:consumer --user <Username> --password <Password>"

{"preview_thumbnail":"/sites/default/files/styles/video_embed_wysiwyg_preview/public/video_thumbnails/184305760.jpg?itok=d6ZTY1fw","video_url":"","settings":{"responsive":1,"width":"854","height":"480","autoplay":0},"settings_summary":["Embedded Video (Responsive)."]}

You just sent and received messages via Red Hat JBoss A­MQ. Visit frequently to view more tutorials on connecting via MQTT, STOMP and other topics around A­MQ.

Build Something Today

Let's walk through everything you need to build your first application.

Download Get Started