Step 1: Donwload/Install/Run ActiveMQ 5.X release
http://activemq.apache.org/getting-started.html
Run ActiveMQ as a windows service
http://activemq.apache.org/java-service-wrapper.html
Windows-NT Service
Here are the steps to install the ActiveMQ broker as an NT service:
- Download the windows binary distribution (i.e. apache-activemq-5.0.0.zip)
- Go to ACTIVEMQ_HOME/bin/win32
- Run InstallService.bat
After runinng InstallService.bat, the ActiveMQ service should be added to the list of NT services. It is not started by default.
To verify, go to control panel -> administrative tools -> services and look for the ActiveMQ service. Here you can start the ActiveMQ service or configure it to start automatically every time the system boots.
To remove the ActiveMQ service:
- Run UninstallService.bat
IMPORTANT!!!
if you are facing error: "java.io.IOException: The system cannot find the path specified"
when running service
Please creating a "work" folder here:
{amq-home}/bin/win32
http://www.mail-archive.com/dev@activemq.apache.org/msg19339.html
Step 2: Dowload Apache.NMS API DLL && Apache.NMS.ActiveMQ DLL
http://activemq.apache.org/nms/download.html
Step 3: ADD Apache.NMS API DLL && Apache.NMS.ActiveMQ DLL