2.2. Downloading and configuring AMQ Broker
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. Use the following instructions to configure a simplified, non-high availability environment on a separate machine.
To configure AMQ Broker for a high availability Red Hat Decision Manager clustered environment, see Using AMQ Broker.
Procedure
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.2.0
-
Click Download next to Red Hat AMQ Broker 7.2.0 (
amq-broker-7.2.0-bin.zip). -
Extract the
amq-broker-7.2.0-bin.zipfile. -
Change directory to
amq-broker-7.2.0-bin/amq-broker-7.2.0/bin. 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>
-
To run AMQ Broker, enter the following command in the
amq-broker-7.2.0-bin/amq-broker-7.2.0/bindirectory:amq-broker-7.2.0/bin/<BROKER_NAME>/bin/artemis run