Sun Java Enterprise System 5 Update 1 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:


    ./imqbrokerd
  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 [ -b hostname:port ]

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