简体   繁体   中英

Azure Service Bus : Amqp Idle Timeout

I am trying to find a way to increase Amqp Idle Timeout in Azure Service Bus but am not able to.

I am using the default Message Handler Options - one of the option is to set the maxAutoRenewDuration which is defaulted to 5 minutes. The timeout that is occurring is after 10 minutes of duration, so think, this option (maxAutoRenewDuration) does not relate to this idle timeout. Is there any where else I can set this option?

Lock lost exception will be thrown if message is not handled within 5 minutes. This is where maxAutoRenewDuration can be helpful. As for for AMQP idle time (or wait time), it is not exposed by the high level API which Message Handler is. I would look at the client and message sender / receiver.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM