WebSphere Message Service Client for C/C++, Version 2.0.2 Operating Systems: AIX, Linux, Solaris, Windows

Synchronous message consumers

The synchronous message consumer receives the messages from a queue synchronously.

A synchronous message consumer receives one message at a time. When the Receive(with a wait interval) method is used; the call waits only a specified period of time in milliseconds for a message, or until the message consumer is closed.

If the Receive with No Wait method is used, the synchronous message consumer receives messages without any delay; if the next message is available, it is received immediately, otherwise a pointer to a null Message object is returned.


Concept topic

Terms of Use | Rate this page

Last updated: 24 May 2011

(C) Copyright IBM Corporation 2005, 2011. All Rights Reserved.