I saw another thread that sounded related, but after reading through it, I think this may be a completely separate issue. I've had MassTransit stop processing incoming messages randomly. Nothing I've tried, short of deleting the underlying queue, will get MassTransit to start processing again once this happens.
First, here's some info on my setup:
1) RabbitMQ 3.4.1
2) MassTransit 3.1.2
3) All consumers are simple IConsumer<T>'s, there are no sagas, no request/response, just simple pub/sub.
I have several TopShelf services that are each listening on different queues via MassTransit. Things have been working fine 99.95% of the time for the past many months.
However, I've now had this issue pop up twice, both times with different services. The affected service suddenly stops processing incoming messages. It still publishes messages just fine. The service still starts and stops without issues. Everything else in the service continues to run fine. There are no errors from MassTransit (I've got MassTransit.NLog installed and configured). But the queue in RabbitMQ shows 4 unack'd messages, and an ever-increasing number of ready messages. I've added logging in my app, and I can't see that it is ever even trying to create a consumer. I also don't see anything in the MassTransit logs that indicates it is trying to process anything (I'm not sure if there should be?)
Again, I've tried stopping the service, purging the queue, then restarting the service, and the same thing happens again immediately. I've also tried restarting the entire box. The same thing happens again as soon as the service starts up. It isn't until I actually delete the queue in RabbitMQ that things start to work correctly again.
Any ideas? Is there anything else I can enable or tweak to try and troubleshoot this on my end?