Azure / azure-service-bus

☁️ Azure Service Bus service issue tracking and samples
https://azure.microsoft.com/services/service-bus
MIT License
585 stars 781 forks source link

[FEATURE REQ] Push message to the back of the queue #464

Closed jsquire closed 2 years ago

jsquire commented 2 years ago

Issue Transfer

This issue has been transferred from the Azure SDK for .NET repository, #27118.

Please be aware that @preardon is the author of the original issue and include them for any questions or replies.

Details

Please describe the feature.

When using the ServiceBusReceiver Peek Message there are the follow options

Ideally when I have a transient failure what I would like is a way to Say "Go to the Back of the Queue" or "Hide on the queue for x Timespan the re appear as an unprocessed message"

At the moment the best option I have is to use a ServiceBusSender to Post the message as a new message onto the Topic (potentially with a delay) which means

Please let me know what you think, and I am happy to pitch in a write a PR for this (with any guidance) if this is something you would like

EldertGrootenboer commented 2 years ago

Thank you for your feedback! Although this is not something that should be done with either Abandon or Defer, as it would change the semantics of those actions, it is something we want to look into putting on the backlog. I would like to align with you for this, to get the details for your scenario. @preardon could you drop me a message on egrootenboer@microsoft.com, and we can take it from there.

preardon commented 2 years ago

@EldertGrootenboer I have emailed you as above and look forward to discussing this with you

preardon commented 2 years ago

@EldertGrootenboer do we have any updates on this?

EldertGrootenboer commented 2 years ago

@preardon It is in our backlog, but no updates beyond that yet.

EldertGrootenboer commented 2 years ago

This is very similar to the ask in https://github.com/Azure/azure-service-bus/issues/454, we will track progress there, and close this issue to have a single place for communication.