Sun Java System Message Queue 3.7 UR1 Administration Guide

Updating Connection Service Properties

You can use the update subcommand to change the value of one or more of the service properties listed in Table 5–2 .

Table 5–2 Connection Service Properties Updated by imqcmd

Property 

Description 

port

The port assigned to the service to be updated (does not apply to httpjms or httpsjms). A value of 0 means the port is dynamically allocated by the Port Mapper.

minThreads

The minimum number of threads assigned to the service.

maxThreads

The maximum number of threads assigned to the service. 

This is the syntax of the update subcommand:

imqcmd update svc -n serviceName [-b 
hostName:portNumber] 
         -o attribute=value [-o 
attribute=value1]

This subcommand updates the specified attribute of the specified service running on the default broker or on a broker at the specified host and port. For a description of service attributes, see Connection Properties.

The following command changes the minimum number of threads assigned to the jms service to 20.

imqcmd update svc -n jms -o “minThreads=20” -u admin