How to check if queue exists? #1130
-
Is there any way to check if queue exists? |
Beta Was this translation helpful? Give feedback.
Answered by
lukebakken
Dec 23, 2021
Replies: 1 comment
-
Your application should just create the queue using identical creation parameters. If it already exists, nothing will happen. If you need to check if a queue exists, use a passive declaration. See the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lukebakken
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your application should just create the queue using identical creation parameters. If it already exists, nothing will happen.
If you need to check if a queue exists, use a passive declaration. See the
passive
parameter:https://github.com/rabbitmq/rabbitmq-dotnet-client/blob/main/projects/RabbitMQ.Client/client/framing/QueueDeclare.cs#L52