[英]Azure Service Bus: Renew message lock token in Logic App
I'm working on an Azure Logic App which a Service Bus peek-lock trigger.我正在开发一个服务总线窥视锁定触发器的 Azure 逻辑应用程序。 The Service Bus has a message lock duration of 5 minutes.
服务总线的消息锁定持续时间为 5 分钟。 I want to have an auto-renewal token mechanism every 5 minutes in case the logic app instance takes more than 5 minutes so that the process can continue without releasing the lock for another consumer to take the message away.
我希望每 5 分钟有一个自动更新令牌机制,以防逻辑应用程序实例花费超过 5 分钟,以便该过程可以继续,而无需释放锁定以让另一个使用者将消息带走。
Is there any way to achieve this with the Logic App?有什么方法可以通过 Logic App 实现这一目标?
We cannot create Auto renew of lock token in logic app for this we need to write code for which we need to use Azure functions.我们无法在逻辑应用程序中创建自动更新锁定令牌,为此我们需要编写需要使用 Azure 函数的代码。
For further details check Auto renew .有关更多详细信息,请查看自动续订。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.