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

71 views Asked by At

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?

1

There are 1 answers

0
Luke Bakken On BEST ANSWER

You want to use the Event Exchange Plugin.