Sun Java Communications Suite 5 Installation Guide

Starting and Stopping Message Queue

Message Queue uses a broker to route and deliver messages. (To scale the Message Queue service, brokers can be clustered.) The imqbrokerd command starts a broker.

ProcedureTo Start Message Queue Broker

  1. Change to the MessageQueue-base/bin directory.

  2. Enter the following command to start the Message Queue broker:

  3. Verify that the broker process is running. For example:

    Solaris OS: /usr/bin/ps -ef | grep imqbrokerd

    Linux: /bin/ps -ef | grep imqbrokerd

ProcedureTo Stop Message Queue Broker

  1. When you stop a running broker, you are prompted for user admin user name and password.

    Solaris OS: /usr/bin/imqcmd shutdown bkr [ -bhostname:port]

    Linux: /opt/sun/mq/bin/imqcmd shutdown bkr [ -b hostname:port]