Waiting for messages
A program that is serving a queue can await messages by:
- Making periodic calls on the queue to see whether a message has arrived (polling).
- Waiting until either a message arrives, or a specified time interval expires (see Waiting for messages).
- Set a signal so that the program is informed when a message arrives (WebSphere MQ for z/OS only). For information about this, see Signaling.
Parent topic:
WebSphere MQ techniques
fg10440_