我正在使用azure服务总线队列。但我无法从队列中获取所有消息使用"获取所有队列消息(peek Lock):Microsoft内置api。
有没有办法获取所有队列消息?
{ " $ connections":{ "价值":{ " servicebus_1":{ " connectionId":" /subscriptions/c776fec3-6aec-4722-b099-b054c267b240/resourceGroups/Plugin-Resource/providers/Microsoft.Web/connections/servicebus-3", " connectionName":" servicebus-3", " id":" -b054c267b240 / providers / Microsoft.Web / locations / northcentralus / managedApis / servicebus" } } }, "定义":{ " $ schema":" https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "行动":{ " Get_messages_from_a_queue_(peek-lock)":{ "输入":{ "主持人":{ " api":{ " runtimeUrl":" https://logic-apis-northcentralus.azure-apim.net/apim/servicebus" }, "连接":{ "名称":" @parameters(' $ connections')[' servicebus_1'] [' connectionId']" } }, "方法":"得到", "路径":" / @ {encodeURIComponent(' email-listener')} / messages / batch / peek", "查询":{ " maxMessageCount":20, " queueType":" Main" } }, " runAfter":{}, "输入":" ApiConnection" } }, " contentVersion":" 1.0.0.0", "输出":{}, "参数":{ " $ connections":{ " defaultValue":{}, "输入":"对象" } }, "触发":{ "复发":{ "复发":{ "频率":" Day", "间隔":3 }, "输入":"重复" } } } }
谢谢