Question

This is probably a very simple answer, but I'm not seeing an obvious solution in the MassTransit docs or forums.

When you have some messages that have been moved over to the error queue in RabbitMQ, what's the best mechanism for getting them back into the processing queue? Also, is there any built-in logging of why they got moved over there in the first place?

Was it helpful?

Solution

Enable logging with the right plugin (NLog, log4net, etc) and failures should be in the log, assuming the right log level is enabled.

There is no great way to move messages back. Dru has worked on a busdriver tool https://github.com/MassTransit/MassTransit/tree/master/src/Tools/BusDriver. This, I believe, will allow you move items from one queue to another - but it's not a tool I've used. I have historically written tools that are related to business processes to move items back to the proper queue for processing that ops will manage.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top