Masstransit RabbitMq Auto-delete quorum queue

Viewed 358

Is it possible to auto-delete a QuorumQueue in RabbitMQ? I am using MassTransit and can't seem to get it to work. Any ideas why or how I can achieve it?

                config.ReceiveEndpoint(settings.RabbitMq.CommandName + "-" + settings.ServiceId, e => {
                    e.AutoDelete = true;
                    e.Durable = true;
                    e.ConfigureConsumer<ModelA>(context);
                    e.SetQuorumQueue();
                });
1 Answers

You might read the documentation to understand the differences between Quorum queues and regular queues, but they are extensive.

Specifically, they can only be durable, and are not meant to be temporary.

Oh, they also require a quorum to operate, which is at least 2 of 3 nodes.

Related