ie.
ie.

Reputation: 6101

How to get notified when new/old RabbitMQ queue declared/destroyed

In our solution thousands of queues might be declared by clients (we actually have one queue per IoT device in our system).

I want to get notified each time when a new queue declared (IoT device connected) or some existing queue destroyed (IoT device disconnected, eg. because of network issues).

Now I load the list of all currently existing queues and intercept it with the previously loaded list. Such approach does not look too much optimal and creates unnecessary server load, which I want to avoid. Is there a better way?

Upvotes: 0

Views: 70

Answers (1)

Luke Bakken
Luke Bakken

Reputation: 9637

You want to use the Event Exchange Plugin.

Upvotes: 1

Related Questions