PRB: MQReceiveMessage Stalls Sender Application When a Timeout Is Specified and the System Clock Has Been Altered (300668)



The information in this article applies to:

  • Microsoft Message Queuing 2.0

This article was previously published under Q300668

SYMPTOMS

When you set the system clock forward and then back again during a call to MQReceiveMessage, and you have specified a timeout, the system stalls and blocks further MSMQ operations.

CAUSE

MSMQ uses an absolute timer, not a relative timer.

RESOLUTION

To work around this problem, use asynchronous message processing.

STATUS

This behavior is by design.

REFERENCES

For more information, search for "Asynchronous Reading" in either the Platform Software Development Kit (SDK) or the Microsoft Developer Network (MSDN) library.

Modification Type:MinorLast Reviewed:4/19/2005
Keywords:kbprb KB300668