Sun Java System Message Queue 4.2 Installation Guide

Configuring Message Queue for Automatic Startup

To configure the Message Queue message broker to start up automatically at boot time, become the root user and edit the configuration file /etc/imq/imqbrokerd.conf. Table 2–2 shows the startup properties you can set in this file.

Table 2–2 Configuration Properties for Automatic Startup

Property Name 

Values 

Default Value 

Description 

AUTOSTART

YES
NO

NO

Start broker automatically at boot time? 

ARGS

String 

None 

Command line options and arguments for broker startup command 

See the section “Broker Utility” inChapter 15, Command Line Reference, in Sun Java System Message Queue 4.2 Administration Guide for Broker Utility command line options.

RESTART

YES
NO

YES

Restart broker automatically on abnormal exit? 

To check that startup changes are correct without booting the system, you can, as the root user, explicitly run the Message Queue initialization script in debug mode with the command

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