Red Hat DocumentationFuse Message BrokerToggle FramesPrintFeedback

Installing and Starting the Windows Service

Overview

Fuse Message Broker provides the InstallService.bat and UninstallService.bat scripts to install and uninstall the broker as a Windows service.

Installing the broker as a service

After customizing the wrapper.conf configuration file as described in ????, change directory to InstallDir\bin\win32, and install the broker as a Windows service, using InstallService.bat, as follows:

C:\apache-activemq5.5.1-fuse-00-xx\bin\win32> InstallService
wrapper  | ActiveMQ installed.

Once installed the Fuse Message Broker service will automatically start up when Windows is launched.

Starting the broker manually

You can manually start the installed Fuse Message Broker service using the Windows net start tool. The service is registered under the name ActiveMQ.

You start the service as follows:

c:\> net start ActiveMQ
The ActiveMQ service is starting.........
The ActiveMQ service was started successfully.

Stopping the broker manually

You can manually stop the installed Fuse Message Broker service using the Windows net stop tool. The service is registered under the name ActiveMQ.

You stop the service as follows:

c:\> net stop ActiveMQ
The ActiveMQ service is stopping...
The ActiveMQ service was stopped successfully.

Uninstalling the broker

To remove the broker from the Windows service registry, run UninstallService.bat as follows:

C:\apache-activemq5.5.1-fuse-00-xx\bin\win32> UninstallService
wrapper  | ActiveMQ removed.
Comments powered by Disqus