Today we will lean how to download and install Apache ActiveMQ Server and create a Queue or Topic in Apache ActiveMQ Server.
Table of Contents
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/
Install Apache ActiveMQ Server
Please use the followings steps to download and install Apache ActiveMQ Server into local system.
- Download Active MQ server latest version from website as zip file.
apache-activemq-5.9.0-bin.zipfile into local file system.
- Start Apache ActiveMQ server.
Apache ActiveMQ Server Home folder looks like below image:
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:
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.
- Access ActiveMQ admin console
- Create new Queue or Topic
ActiveMQ admin console URL:
To view existing Queues, click on “Queues” Link.
Similarly, Click on “Topics” link to view existing Topics, “Subscribers” to view existing subscribers and “Connections” to view existing connections.
Queue Name :
Click on “Create” button.
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