0
votes

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.

1
Can't you just purge the queue through the MMC?John Breakwell
it's possible: stackoverflow.com/a/12609601/336511 it did work for meDaniel B

1 Answers

0
votes

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.