Model queues

 

A model queue is a template of a queue definition that you use when creating a dynamic queue. You specify the name of a model queue in the object descriptor (MQOD) of your MQOPEN call. Using the attributes of the model queue, the queue manager dynamically creates a local queue for you.

We can specify a name (in full) for the dynamic queue, or the stem of a name (for example, ABC) and let the queue manager add a unique part to this, or we can let the queue manager assign a complete unique name for you. If the queue manager assigns the name, it puts it in the MQOD structure.

We cannot issue an MQPUT1 call directly to a model queue , but we can issue an MQPUT1 to the dynamic queue that has been created by opening a model queue.

The attributes of a model queue are a subset of those of a local queue. For a fuller description, see the Application Programming Reference.

 

Parent topic:

Queues


fg11000_