Dynamic queues

When an application program issues an MQOPEN call to open a model queue, the queue manager dynamically creates an instance of a local queue with the same attributes as the model queue. Depending on the value of the DefinitionType field of the model queue, the queue manager creates either a temporary or permanent dynamic queue (See Creating dynamic queues).

Properties of temporary dynamic queues

Temporary dynamic queues have the following properties:

Properties of permanent dynamic queues

Permanent dynamic queues have the following properties:

Uses of dynamic queues

You can use dynamic queues for:

The server can then place the reply message on the reply-to queue. Finally, the client could process the reply, and close the reply-to queue with the delete option.

Recommendations for uses of dynamic queues

Consider the following points when using dynamic queues: