Move message from Dead Letter queue to MSMQ outgoing message queue

I have messages queued with a dead letter system. I want to move it to the outbound queue. But although I am the administrator on the box, I can not do this. I also tried using the tool in the name log, but could not do it. Is there a way out?

+8
msmq
source share
3 answers

You will need to write something yourself to resend the messages. You should be able to access the queue just like any other, for example: @ "formatname: DIRECT = OS:. \ System $; DeadXact"; PowerShell can do the trick.

+1
source share

This is easy to do with QueueExplorer.

Open QueueExplorer and look at the dead letter queue where the dead letter messages are located (we will call this SERVER A). Sort by destination in order to simplify.

Open another copy of QueueExplorer on the server where the queues are located where you want to move the dead letter entries (SERVER B).

In the first QueueExplorer window, select all files for assignment X (SERVER A). Then just drag them into the queue into which they should go into another QueueExplorer window that you opened (SERVER B). This is the easiest way to move material from the Dead Letter queue to the correct queue without doing it programmatically.

+7
source share

Adam is right. An outgoing queue is not one you can write to.
Similarly, you cannot create an outbound queue yourself.
MSMQ dynamically creates an outbound queue so that it can deliver messages addressed to the remote queue, mainly on demand.

Steps:
1 read message A from DLQ (as Adam advises)
2 create a new message B uses the properties from message A
3 Send message B to the destination of your choice.

Greetings
John Broadwell

+2
source share

Source: https://habr.com/ru/post/650634/


All Articles