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.
Wiredearp
source share