You are developing an Azure Function that processes messages from Azure Service Bus. You need to ensure that if processing fails, the message is retried up to 3 times before being moved to the dead-letter queue. Which configuration should you use?
- AConfigure maxDeliveryCount on the Service Bus subscription
- BSet functionRetry.maxRetryCount in host.json to 3
- CImplement exponential backoff in the function code
- DSet lock duration to 5 minutes on the Service Bus queue