Sun Java System Message Queue 3.7 UR1 Installation Guide

Configuring Message Queue for Automatic Startup

If you want to set the broker (the Message Queue message server) for automatic startup, you need to become root and to edit the configuration file /etc/imq/imqbrokerd.conf. The startup properties you can set in this configuration file are shown in the following table.

Table 2–5 Broker Startup Configuration Properties

Property Name 

Description 

AUTOSTART

Specifies (YES/NO) if the broker is automatically started at boot time. Default: NO

ARGS

Specifies command line options and arguments to pass to the broker startup command. See Command Utility in Sun Java System Message Queue 3.7 UR1 Administration Guidefor a listing and description of imqbrokerd command line options. (For example -name instanceName.)

RESTART

Specifies (YES/NO) if the broker is automatically restarted if it abnormally exits.

Default: YES

To check that startup changes are correct (without booting the system), you can, as root, explicitly run the Message Queue initialization script in debug mode by using the following command:

env DEBUG=1 /etc/init.d/imq start