You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Edit:
Batch processing is kinda impossible without being able to control what happens to individual messages. Without fine grained control we only have the option to retry the entire batch if something fails or not retry at all 😢
The text was updated successfully, but these errors were encountered:
trin94
changed the title
Add Support to Allow Messages Abandoning and Messages Dead Lettering in Azure Functions Service Bus Bindings
Add Support to Allow Message Abandoning and Message Dead Lettering in Azure Functions Service Bus Bindings
Mar 31, 2025
Binding Type
existing binding (
azure.functions.ServiceBusMessage
)Expected Behavior
it's possible to abandon or dead letter messages (without retrying)
Relevant sample code snipped
I've tried putting messages onto the dead letter queue manually, but that did not work:
If I change
message.set(msg.get_body())
toraise ValueError()
, then messages are moved to the dead letter queue (after retrying which we don't want).Additional Information
azure.functions
service bus bindings add support (and documentation) for operations like abandoning and dead lettering.azure.servicebus
module allows to do these advanced operations:azure.functions
andazure.servicebus
modules together?If so, adding documentation and examples would really help.
Links:
Edit:
Batch processing is kinda impossible without being able to control what happens to individual messages. Without fine grained control we only have the option to retry the entire batch if something fails or not retry at all 😢
The text was updated successfully, but these errors were encountered: