Reputation: 55
I developed a simple publish/subscribe example on a MassTransit and azure service bus as a message broker. The thing that I don't understand is that every time I start my solution MassTransit creates a queue per each service instance that connects to the bus :
I don't know what is the purpose of this. The queues are getting disposed after I stop services. MassTransit documentation does not give me an explanation for this. Maybe someone here knows ?
Upvotes: 3
Views: 610
Reputation: 33278
That queue is for the bus endpoint, which is created for every bus instance. It should automatically delete a few minutes after the bus instance is stopped.
It is used as a source for publishing, as well as a response queue for requests sent via the bus.
Upvotes: 2