-
Notifications
You must be signed in to change notification settings - Fork 588
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
Why is there no "Remove message from queue" when resubmitting a message to a different queue #771
Comments
I don't remember off top of my head, but if you select |
I wrote about it in the PR for that capability, #192 . What may not clear from that text is that all messages in front of the one that you want to delete will have their Delivery count incremented. The default setting is that when the Delivery count reaches 10 the message will be moved to the deadletter subqueue. That means that suddenly you may end up with messages on the deadletter subqueue. I think that this capability has been requested for the normal queue once or twice before and it seems to have performed well since it was implemented five years ago. So in my opinion it should be added for normal queues as long as there is a warning that all messages in front of the message(s) that are to be deleted will have their Delivery count increased and that may lead to them being moved to the deadletter subqueue. |
Yeah, I saw that as well. I think that's a regression issue (since I cannot have create that bug 😄 ).
Yes, and for that I qoute MikeWo's answer on StackOverflow
I know I initially tried to use Defer() but couldn't get it to work. MikeWo mentions another Stackoverflow thread where that is mentioned, How to use the MessageReceiver.Receive method by sequenceNumber on ServiceBus. It would be interesting to know it it is possible to use that instead. |
Let's revisit what we do. I just realized that resubmitting a message we receive increases the delivery count. For clients that have |
Hi,
We have a use-case in which we have a
error
and aaudit
queue next to our regular queue. We would like to be able to re-submit some of the messages from the error queue and delete them (without purging the whole error queue).This possibility exists when resubmitting from a DLQ but not from another regular queue.
Is there a technical reason this was not added? Would you mind if we try adding support for it?
The text was updated successfully, but these errors were encountered: