This article explains how to download and install ActiveMQ on a windows machine.
1. If you haven’t Download activemq click here to get it. - File name will be similar to: activemq-x.x.x.zip.
2. Extract the zip file and copy to a directory of your choice. – its better to have the path short with no spaces. Ex: c:/activemq
3. Set JAVA_HOME if you haven't already set it.
4. Open windows command window and go to activemq installation/bin. - Execute as
activemq
For 32 bit: bin\win32 \activemq
5. Do not close the command window. It will close the server
6. Now let’s activate activemq admin command
7. Go to activemq/conf/activemq.xml
8. Set createConnector value to true.
9. Start it. -
activemq/bin/activemq-admin start
10. Go to
http://localhost:8161/admin/
11. Default user/pwd is admin/admin
12. If you can see activemq home you are done
Testing the installation
ActiveMQ's default port is 61616. From another window run netstat and search for port 61616.
From a Windows console, type:
1. If you haven’t Download activemq click here to get it. - File name will be similar to: activemq-x.x.x.zip.
2. Extract the zip file and copy to a directory of your choice. – its better to have the path short with no spaces. Ex: c:/activemq
3. Set JAVA_HOME if you haven't already set it.
4. Open windows command window and go to activemq installation/bin. - Execute as
activemq
For 32 bit: bin\win32 \activemq
5. Do not close the command window. It will close the server
6. Now let’s activate activemq admin command
7. Go to activemq/conf/activemq.xml
8. Set createConnector value to true.
9. Start it. -
activemq/bin/activemq-admin start
10. Go to
http://localhost:8161/admin/
11. Default user/pwd is admin/admin
12. If you can see activemq home you are done
Testing the installation
- Navigate to "Queues"
- Add a queue name and click create
- Send test message by klicking on "Send to" and enter some data
ActiveMQ's default port is 61616. From another window run netstat and search for port 61616.
From a Windows console, type:
netstat -an|find
"61616"
To stop ActiveMQ
bin/activemq stop
Comments
Post a Comment