| Previous | Next |
| MQ_ERROR_ILLEGAL_CURSOR_ACTION | MQ_ERROR_ILLEGAL_FORMATNAME |
MQ_ERROR_MESSAGE_ALREADY_RECEIVED
MQ_ERROR_MESSAGE_ALREADY_RECEIVED means that the message at the current cursor position was removed before this operation could receive it. The removal may have been performed by another cursor, another application, or an administrative action.
How to investigate
- Treat this as a consumer race rather than evidence that the queue itself is corrupted.
- Avoid assuming that a message observed by a peek remains available until a later receive call.
- Coordinate competing consumers or use identifiers and transaction semantics that match the required delivery guarantees.
Microsoft: Message Queuing error codes
Looking for a different code? Search another status or error code.