On 4 December 2015 at 19:56, Philippe Le Rohellec <p...@microsoft.com> wrote: > I'm using Proton to receive messages from an Azure Service Bus queue. > The receiver keeps a lock on each message it receives for a predefined > amount of time, which I think matches the "Lock Duration" set on the queue > on the Azure side. The max value in Azure is 5 minutes. > > What if processing the message takes more than 5 minutes? Is there a way to > renew the lock using Proton or are the 5 minutes non negotiable? I didn't > find anything in the API. > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/Extending-the-lease-duration-on-messages-received-with-Proton-tp7634944.html > Sent from the Apache Qpid Proton mailing list archive at Nabble.com.
Hi Philippe, I believe the locking you mention is handled server-side, I'm not sure that the Proton reciever is ever aware of it. I think you'll need to ask the Azure folks about whether there is a way to adjust/renew the lock. Robbie