-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Can not send message to dead letter queue from new receiver #35304
Comments
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @EldertGrootenboer. |
Thank you for the feedback @ColinBe95. We will investigate and get back to you asap. |
btw this behavior is not limited to async, i.e. it is reproducible with the synchronous client. This code snippet works:
While the following does not:
|
I think I have found the solution to my initial question myself in this discussion Azure/azure-service-bus#455 . However, I still believe raising an exception here would have been a better experience for the developer? |
@ColinBe95 yes this is a bug on our end, there should be at the minimum an exception raised or alternate means of sending the message over the dead letter queue. Ill update this thread once we have a PR ready to go |
@kashifkhan cool, thank you! |
@ColinBe95 I have included a link to the PR that addresses this issue. Ill be marking this issue as addressed but will update here when we push this out to pypi |
Hi @ColinBe95. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation. |
Hi @ColinBe95, since you haven’t asked that we |
azure-servicebus 7.12.1
azure-core 1.30.1
aiohttp 3.9.3
7.12.1
Windows 10
3.9.0
Describe the bug
Not sure if this is a bug or desired behavior, but I was very confused by the following:
When writing a message to the dead letter queue like
the message ends up in the DLQ as expected. But when running:
nothing happens. No error message, nothing. The message does not end up in the DLQ. So basically it seems impossible to add messages to the DLQ once the receiver was closed. Am I missing something?
For my current implementation it would be great if it was possible to send a message to the DLQ even after the receiver was closed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Sending messages to DLQ after closing the receiver should be possible. Otherwise there should be an exception raised or some information added in the docs.
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: