| Previous | Next |
| MQ_ERROR_BUFFER_OVERFLOW | MQ_ERROR_ILLEGAL_CURSOR_ACTION |
MQ_ERROR_IO_TIMEOUT
MQ_ERROR_IO_TIMEOUT means that the timeout for MQReceiveMessage expired before the requested message became available. It is often an expected result of a bounded wait and does not by itself prove that the queue manager or network has failed.
How to handle it
- Review the
dwTimeoutvalue:0polls, a positive value bounds the wait, andINFINITEwaits indefinitely. - Keep timeout handling separate from permanent errors such as an invalid handle or unavailable service.
- For workers that must stop promptly, combine finite waits with a controlled cancellation or shutdown path.
Looking for a different code? Search another status or error code.