Reputation: 11
I'm using Rabbit for notifications like slack, mail etc. And my goal is temporary stop receiving messages from Rabbit so that I will not receive messages after working time.
Upvotes: 1
Views: 505
Reputation: 9637
The only option you have from RabbitMQ is to force-close the application's connection. This isn't ideal, so you need to build in a "stop consuming" feature into your application(s).
Upvotes: 1