As we are diving into the concept of Java Messaging Service (JMS), the first step to going into the practicals is to setup ActiveMQ.
First download one of SNAPSHOT binaries from http://activemq.apache.org/download.html and copy the downloaded directory to OS installation drive (C:\).
In the downloaded root directory, you will see a sub-folder named ‘/bin‘, which contains a file named ‘activemq.bat‘. Double-click on this file and wait for few seconds, until the command prompt stops at –
Once the ActiveMQ messaging server starts up, we can then see the ActiveMQ Admin Console, which shows all the useful metrics on Consumers, Topics, Queues, Messages, etc.
By default, ActiveMQ messaging server uses the port 8161 (http://localhost:8161/) for this and the default ActiveMQ Admin Console can be seen at http://localhost:8161/admin.
The default setup also provides with a modular Hawtio console for better management. This doesn’t need any separate configuration and can be seen at http://localhost:8161/hawtio/.