Shriroop
Shriroop

Reputation: 1182

NServiceBus Tool - ReturnToSourceQueue Exits after Error

There are a few messages stuck in the error queue and I would like to transfer them back to the normal message queue so that NServiceBus Subscribers can pick them up and process them.

My colleague found the tool ReturnToSourceQueue.exe which helps you to transfer them on back to the queue. But when I try to run it on the Web server, where the subscribers are installed and the message queue is, ReturnToSourceQueue.exe gives me this message:

"ReturnToSourceQueue has encountered a problem and needs to close. We are sorry for the inconvenience"

Any clues as to how can I get around this? Any help will be appreciated.

Upvotes: 1

Views: 986

Answers (2)

Daniel Halan
Daniel Halan

Reputation: 584

I've done a small tool for managing NServiceBus messages, it has been tested with remote servers, and provides Windows UI for selecting error messages.

You can download it here

Upvotes: 1

nieve
nieve

Reputation: 5117

When we had to use the tool to move messages from error back to normal queue on a cluster, we experienced similar issues (on NServiceBus 2.5 as far as I remember). I found this ReturnToSource powershell script that worked with a bit of tweaking. If it won't work out of the box, let me know.

Upvotes: 1

Related Questions