Sun Java Enterprise System 5 Installation Guide for UNIX

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. On the command line, change to the MessageQueue-base/bin directory.

  2. Start the Message Queue broker:

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

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

    Linux: /bin/ps -ef | grep imqbrokerd

ProcedureTo Stop Message Queue Broker

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

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

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