Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

Re-Enqueue Service Bus Message to try again

$
0
0

Hello,

I already asked this question on the WebJobs SDK GitHub repository (https://github.com/Azure/azure-webjobs-sdk/issues/691#issuecomment-206434500), but they could not help me, so I hope you can :)

I am building an Azure WebJob that processes orders that come in via a ServiceBus. It might happen, though, that the order system is not available when the message arrives. Therefore, I would like to abandon the message lock and make it available for processing at a later point in time. The problem is, however, that the message is made available again immediately - I would like to have an exponential backoff, though.

So, do you know of a way to implement something like "AbandonWithDelay(TimeSpan)" which abandons the lock and makes the message available again after the given TimeSpan?

Thanks for any help :)

Tim


Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>