INFO: Dynamic Queue Deletion and Return Code for MQSendMessage
Article ID: 186191
Article Last Modified on 9/1/1999
APPLIES TO
- Microsoft Message Queue Server 1.0
This article was previously published under Q186191
SUMMARY
This article summarizes the return codes a Microsoft Message Queue Server
(MSMQ) C API application sees that is operating on an open queue handle
when the underlying queue instance is deleted from the Directory Service
(DS).
In particular, MQSendMessage returns MQ_OK even if you delete the queue
after opening it for Send in your C application. This behavior is by design
as described below.
REFERENCES
MSMQ SDK Online Help: search on: "Negative Arrival Acknowledgment Classes";
topic: ""MQMSG_CLASS_NACK_BAD_DST_Q"
For more information on setting up Acknowledgment messages, please see the
MSMQ SDK help file.
Additional query words: kbDSupport kbdse kbnokeyword
Keywords: kbinfo KB186191