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

Better exception message for queue not found when configuring transport #970

Open
DavidBoike opened this issue Mar 21, 2022 · 0 comments
Open

Comments

@DavidBoike
Copy link
Member

In the webinar Live coding: NServiceBus in the real world, starting at about 14:30 I start showing how to change from LearningTransport to RabbitMQTransport. The first two exceptions (to provide a connection string, and then a routing topology) are great but then at 17:25 I get an exception that's not so nice:

RabbitMQ.Client.Exceptions.OperationInterruptedException: The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=404, text='NOT_FOUND - no queue 'Shipping' in vhost '/'", classId=60, methodId=20'

We should be able to catch this exception, look at whether installers are enabled from settings, and then give a much better exception message that talks about using EnableInstallers() vs creating queues beforehand.

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

No branches or pull requests

1 participant