SetQuorumQueue using the ConfigureEndpoints method #3708
Answered
by
phatboyg
MichelRoor
asked this question in
Q&A
Replies: 2 comments 3 replies
-
x.AddConfigureEndpointsCallback((name, cfg) =>
{
if(cfg is IRabbitMqEndpointConfigurator rmq)
rmq.SetQuorumQueue();
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MichelRoor
-
When using ISendEndpointProvider and the Send method with the "queue:" URI syntax is there a way of setting the queue that gets created to be of type Quorum rather than classic? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm currently looking into using quorum queues for RabbitMQ and I was wondering what options I have to enable this setting.
From what I understand, the setQuorumQueue method can be used on the ReceiveEndpointConfigurator something like this:
This approach requires me to do this for all our current (and upcoming) queues. I'm looking for a solution to do this for all the queues at once. Something like:
Is this possible with the latest version? Or is this something that isn't supported at the moment?
Thanks for the information/help! :)
Beta Was this translation helpful? Give feedback.
All reactions