Uses of dynamic queues
We can use dynamic queues for:
- Applications that do not require queues to be retained after the application has terminated.
- Applications that require replies to messages to be processed by another application. Such applications can dynamically create a reply-to queue by opening a model queue. For example, a client application can:
- Create a dynamic queue.
- Supply its name in the ReplyToQ field of the message descriptor structure of the request message.
- Place the request on a queue being processed by a server.
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.
Parent topic:
Dynamic queues
fg11040_