LibraryToggle FramesPrintFeedback

Shutting Down a Local Broker

Overview

The method used to stop a broker running on the machine you logged into depends on the mode in which the broker is running. If it is running in console mode, you use one of the console commands to shut down the broker. If it is running in daemon mode, the broker doesn't have a command console. So, you need to use one of the utility commands supplied with Fuse MQ Enterprise.

Stopping the broker from console mode

If you launched Fuse MQ Enterprise by running fusemq, you shut it down using the shutdown -f command as shown in Example 41.

Example 41. Using the Console's Shutdown Command

FuseMQ:karaf@root> shutdown -f
FuseMQ:karaf@root> 
logout

[Process completed]

[Tip]Tip

CTRL+D will also shutdown the broker.

Stopping a broker running in daemon mode

If you launched Fuse MQ Enterprise by running the start command, log in to the machine where the broker is running and run the stop command in the broker installation's bin folder.

[Tip]Tip

You can stop a broker running in daemon mode remotely. See Shutting Down a Broker Remotely.

Comments powered by Disqus