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.
Asked
Active
Viewed 1,251 times
0
-
Can't you just purge the queue through the MMC? – John Breakwell Jun 10 '17 at 00:02
-
it's possible: https://stackoverflow.com/a/12609601/336511 it did work for me – Daniel B Jan 18 '18 at 15:05
1 Answers
0
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.

Frank Boyne
- 4,400
- 23
- 30
-
Thanks for all the details. It helped me in understanding the msmq in detail. – user2995902 Jun 14 '17 at 17:36