Azure逻辑应用-无法完成队列中的消息 [英] Azure logic App - Fails to complete the message in a queue

查看:82
本文介绍了Azure逻辑应用-无法完成队列中的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Azure Logic应用程序中有一个队列和几个Azure函数.

I have a queue and couple of Azure functions in Azure Logic App.

Azure功能需要5分钟,并且当逻辑应用程序中运行事件完成队列中的消息"时,它会失败.以下是输出.

An Azure function takes 5 minutes and when the event "Complete the message in queue" runs in logic app, it fails. Following is the output.

{
  "status": 400,
  "message": "Failed to complete the message with the lock token '{the-guid}'. The lock on the message has been lost.",
  "source": "127.0.0.1"
}

这不是一周前发生的事情.

It was not happening a week ago.

推荐答案

如果导航到服务总线"->队列"->属性",则消息的锁定持续时间是可配置的.考虑将其延长5分钟以上.

Lock duration of a message is configurable if you navigate to Service Bus -> Queue -> Properties. Consider extending it longer than 5 minutes.

这篇关于Azure逻辑应用-无法完成队列中的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆