2.2. Downloading and configuring AMQ Broker

Red Hat AMQ Broker enables your applications to communicate with any messaging provider. It specifies how components such as message-driven beans, Enterprise JavaBeans, and servlets can send or receive messages.

To configure AMQ Broker for a high availability Red Hat Decision Manager clustered environment, see Getting started with AMQ Broker.

You can use the following procedure to configure a simplified, non-high availability environment.

Procedure

  1. Navigate to the Software Downloads page in the Red Hat Customer Portal (login required), and select the product and version from the drop-down options:

    • Product: AMQ Broker
    • Version: 7.5.0
  2. Click Download next to Red Hat AMQ Broker 7.5.0 (amq-broker-7.5.0-bin.zip).
  3. Extract the amq-broker-7.5.0-bin.zip file.
  4. Change directory to amq-broker-7.5.0-bin/amq-broker-7.5.0/bin.
  5. Enter the following command and replace the following placeholders to create the broker and broker user:

    • <HOST> is the IP address or host name of the server where you installed AMQ Broker.
    • <AMQ_USER> and <AMQ_PASSWORD> is a user name and password combination of your choice.
    • <BROKER_NAME> is a name for the broker that you are creating.

      ./artemis create --host <HOST> --user <AMQ_USER> --password <AMQ_PASSWORD> --require-login <BROKER_NAME>
  6. To run AMQ Broker, enter the following command in the amq-broker-7.5.0-bin/amq-broker-7.5.0/bin directory:

    amq-broker-7.5.0/bin/<BROKER_NAME>/bin/artemis run