Apache ActiveMQ

Filed Under: JMS

Today we will lean how to download and install Apache ActiveMQ Server and create a Queue or Topic in Apache ActiveMQ Server.

Apache ActiveMQ

Apache ActiveMQ Server is the most popular and powerful open source messaging and Integration Patterns server form Apache Foundation Software.

ActiveMQ Server website: https://activemq.apache.org/

ActiveMQ Server have provide JMS API to integrate with Spring Framework to develop Message applications using Spring AMQP.

Install Apache ActiveMQ Server

Please use the followings steps to download and install Apache ActiveMQ Server into local system.

  1. Download Active MQ server latest version from website as zip file.
  2. https://activemq.apache.org/download.html

  3. Extract apache-activemq-5.9.0-bin.zip file into local file system.
  4. Apache ActiveMQ Server Home folder looks like below image:

    apache activemq home folder

  5. Start Apache ActiveMQ server.
  6. Open Command Prompt (CMD) at Apache Active MQ bin folder:

    CMD> cd E:\apache-activemq-5.9.0\bin

    Start server by using “activemq.bat” as shown below:


    Apache ActiveMQ server console looks like as shown below:

    apache activemq server startup

We have successfully installed Apache ActiveMQ Server. It’s time to setup required Queues or Topics to start development.

Apache ActiveMQ Server Setup

In this section, we will access Apache ActiveMQ Server admin console and create Queues or Topics.

  1. Access ActiveMQ admin console
  2. ActiveMQ admin console URL: https://localhost:8161/admin/

    Login details: admin/admin

    apache activemq homepage

    To view existing Queues, click on “Queues” Link.

    apache activemq server queues

    Similarly, Click on “Topics” link to view existing Topics, “Subscribers” to view existing subscribers and “Connections” to view existing connections.

  3. Create new Queue or Topic
  4. Queue Name : jms/TPQueue

    apache activemq create queue

    Click on “Create” button.

    activemq queue created

    Topic Name: jms/TPTopic

    apache activemq server create topic

We have successfully installed and setup ActiveMQ Server with Topic or Queue.

Now it’s time to start Developing Spring AMQP ActiveMQ Messaging Application!

Further Reading: Spring ActiveMQ Example


  1. Yogesh says:

    Please update the main article to specify

    activemq start

  2. AarKay says:

    Can Activemq be configured in cluster or load balance setup? any documentation or points you have? Thanks

  3. Nayan Arora says:

    activemq.bat won’t start the server. Instead use activemq.bat start.

  4. Vaibhav says:

    here for run activemq using folowing command

Comments are closed.

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors