Currently I am using Azure Service Bus Session Queue by configuring the 30 seconds as a lock duration.
For example, I have one session with 3 messages
While processing the first message to took more time, after that I am calling CompleteAsync() for deleting the message from the queue. But whenever I execute CompleteAsync(), I am getting SessionLockLostException.
await session.CompleteAsync(message.SystemProperties.LockToken);
I want to renew the lock whenever lock has expired.
I followed this documentation, but I am not getting any sample for renew lock token.