I'm having issues with Azure Message Bus Queues.
I'm having MessageLockLostException
thrown and The request operation did not complete within the allotted timeout of 00:01:10. The time allotted to this operation may have been a portion of a longer timeout.
I've set my queue into ReceiveMode.PeekLock
.
I also check
if(message.LockedUntilUtc.Minute <= 1)
message.RenewLock();
Why would this happen, what's causing the lock to give out? I was reading somewhere from the point where you Receive you have 5 minutes by default. This process takes a little longer usually. I wanted to renew the lock but this isn't working too well.