[BUG] Service Bus retry functionality not working as expected #43842
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Bus
Describe the bug
When a message is received from an Azure Service Bus queue, and the message processing fails, the message is retried immediately instead of waiting for the configured delay. This seems like a bug to me, unless there's something I'm missing. No matter what I set as retry
mode
ordelay
, (and no matter if I configure the retry properties underspring.cloud.azure
,spring.cloud.azure.servicebus
orspring.cloud.azure.servicebus.processor
) failed messages are retried immediately.Exception or Stack Trace
Log output:
(and 6 more retries)
To Reproduce
See this demo repo: https://github.com/ragnaroh-nrk/azure-service-bus-retry-issue
Expected behavior
I expect the message to be retried after the configured delay.
Setup (please complete the following information):
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: