-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Is it intended that if a Subscription does not exist a ServiceBusCommunicationEx is thrown instead of a MessagingEntityNotFoundEx? #6943
Comments
Thanks for opening this issue. I've attempted to route this to the appropriate team who should be able to get you an answer on what's going on here. |
@kurtzeborn any news about this? |
I think the issue is more general. It's not just about subscriptions. It's about any entity. Currently, |
I've run through a scenario where a connection is established, the subscription is removed, and an operation to send/receive a message is attempted. The issue is that Also, @nemakam does this sound right to you? |
BTW, a simpler way to repro this would be: var receiver = new MessageReceiver(connectionString, "topic/sub"); // let `topic` exist, but not `sub`
await receiver.ReceiveAsync(); |
@TheReaLee - thanks for raising this. I think this is definitely a MessagingEntityNotFoundException. |
Thanks for working with Microsoft on GitHub! Tell us how you feel about your experience using the reactions on this comment. |
Query/Question
Is it intended that if a Subscription does not exist a ServiceBusCommunicationEx is thrown rather than a MessagingEntityNotFoundException?
Why is this not a Bug or a feature Request?
Our team is currently building a wrapper around the Microsoft.Azure.ServiceBus project and have noticed that when a Topic or Queue does not exist a MessagingEntityNotFoundException is thrown whereas when a Subscription does not exists a ServiceBusCommunicationException is thrown.
Is this intended and if yes why so?... Doesn't a Topic + Subscription make up a Messaging Entity?
Setup
The text was updated successfully, but these errors were encountered: