Chapter 3. Shutting Down a Broker


Abstract

This tutorial demonstrates how to shutdown a locally running message broker.

Goals

In this tutorial you will:
  • add the Red Hat JBoss A-MQ command line tools to your system path
  • stop a locally running JBoss A-MQ instance

Prerequisites

To complete this tutorial you will need to have a broker instance running locally.

Procedure for Windows

To shutdown a broker on Windows:
  1. Add the JBoss A-MQ command line tools your path by entering
    c:\ set PATH=%PATH%;InstallDir\bin
  2. Shutdown the broker instance by entering
    c:\ stop

Procedure for Unix/Linux/OSX

To start a broker:
  1. Add the JBoss A-MQ command line tools your path by entering
    % set PATH=$PATH;InstallDir/bin
  2. Shutdown the broker by entering
    % stop
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.