Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need additional option to don't create a queue for RabbitMq connection process #236

Open
Konstantin060290 opened this issue Oct 24, 2024 · 1 comment

Comments

@Konstantin060290
Copy link

If you don't have an permittion to create a queue (Configure permission) you will receive a connection error:

EventName=Silverback.Integration_ConsumerConnectError RabbitMQ.Client.Exceptions.OperationInterruptedException: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=403, text='ACCESS_REFUSED - access to queue 'dummy' in vhost '/' refused for user 'someUser'', classId=50, methodId=10
at RabbitMQ.Client.Impl.SimpleBlockingRpcContinuation.GetReply(TimeSpan timeout)
at RabbitMQ.Client.Impl.ModelBase.QueueDeclare(String queue, Boolean passive, Boolean durable, Boolean exclusive, Boolean autoDelete, IDictionary2 arguments) at RabbitMQ.Client.Impl.ModelBase.QueueDeclare(String queue, Boolean durable, Boolean exclusive, Boolean autoDelete, IDictionary2 arguments)
at RabbitMQ.Client.Impl.AutorecoveringModel.QueueDeclare(String queue, Boolean durable, Boolean exclusive, Boolean autoDelete, IDictionary`2 arguments)
at Silverback.Messaging.Broker.Rabbit.RabbitConnectionFactory.GetChannel(RabbitConsumerEndpoint endpoint)
at Silverback.Messaging.Broker.RabbitConsumer.ConnectCoreAsync()
at Silverback.Messaging.Broker.Consumer.ConnectAndStartAsync()

So it will be cool to have an option to create or not create a queue in connection process for RabbitMq.

@BEagle1984
Copy link
Owner

Thank you for raising this issue. Just a heads-up that RabbitMQ support will be deprecated in Silverback v5. You can find more details and the reasoning in the discussion here: #237.

Contributions are welcome if someone wants to take over maintaining it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants