简体   繁体   中英

Delete a message from OUTGOING QUEUES in msmq

Is it possible to delete a message from outgoing queues? I don't see any option for deleting. How to delete these messages? I am new to msmq. I am trying to send messages from my computer to some other computer. All my messages are sitting in outgoing queue with the status "LOCKED". Not sure why is it locked and I want to delete all these messages in OUTGOING QUEUE.

The various possible status values are described in Internal Private Queues and Outgoing Queues .

Emptying an outgoing queue is discussed in this question: How to Purge an MSMQ Outgoing Queue .

I haven't been keeping up to date with MSMQ but I suspect removing individual messages from an outgoing queue is not possible. Outgoing queues are part of MSMQ's internal infrastructure and shouldn't be manipulated by non-MSMQ code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM