Search code examples
msmqnservicebus

NServiceBus: How to move messages from the error queue


I had a bug in my application that cause a number of messages to be moved into the error queue. Now that I have fixed the bug, is there a simple way to move them back to the original queue so they can be processed?


Solution

  • You can use a simple command line tool, ReturnToSourceQueue.exe, which is included with NServiceBus.

    It's located in the tools folder IIRC.