Sun Java System Message Queue 3.7 UR1 Administration Guide

Creating a Physical Destination

To create a physical destination, use the imqcmd create subcommand. This is the syntax for the create subcommand:

create dst -t destType -n 
destName [-o property=value
] [-o property=value1]

For example, to create a queue destination, enter a command like the following:


imqcmd create dst -n myQueue -t q -o “maxNumActiveConsumers=5”

To create a topic destination, enter a command like the following:


imqcmd create dst -n myTopic -t t -o “maxBytesPerMsg=5000”

When creating a physical destination, you specify the following:

You can also set properties when you update a physical destination.

Many physical destination properties affect broker memory resources and message flow. For example, you can specify the number of producers that can send to a physical destination, the number and size of the messages they can send, and the response that the broker should take when physical destination limits are reached. The limits are similar to brokerwide limits controlled by broker configuration properties.

The following properties are used for both queue destinations and topic destinations:

The following properties are used for queue destinations only:

See Chapter 15, Physical Destination Property Reference for full reference information about physical destination properties.

For auto-created destinations, you set default property values in the broker’s instance configuration file. Reference information on auto-create properties is located in Table 14–3.