Azure 逻辑应用从存储帐户队列中读取所有消息
Azure logic app read all messages from storage account queue
如何从 Azure 存储帐户队列中读取所有消息?基本 "Get messages from queue" 作业只有我可以指定一个静态数字的消息数:
我能否以某种方式从队列中获取此任务的当前消息数?还是我应该为消息数设置足够高的数字?
我的目标是遍历队列中的所有消息并检查是否有特定文本。
目前,这是不允许的,即使您设置的数字足够大。
因为 azure 存储队列 rest API,从队列中检索的消息数有限制,最多 32 条。您可以在此处查看 URI Parameters。
A nonzero integer value that specifies the number of messages to
retrieve from the queue, up to a maximum of 32.
还有一个remark:
If multiple messages are retrieved, each message has an associated pop
receipt. The maximum number of messages that may be retrieved at a
time is 32.
如何从 Azure 存储帐户队列中读取所有消息?基本 "Get messages from queue" 作业只有我可以指定一个静态数字的消息数:
我能否以某种方式从队列中获取此任务的当前消息数?还是我应该为消息数设置足够高的数字?
我的目标是遍历队列中的所有消息并检查是否有特定文本。
目前,这是不允许的,即使您设置的数字足够大。
因为 azure 存储队列 rest API,从队列中检索的消息数有限制,最多 32 条。您可以在此处查看 URI Parameters。
A nonzero integer value that specifies the number of messages to retrieve from the queue, up to a maximum of 32.
还有一个remark:
If multiple messages are retrieved, each message has an associated pop receipt. The maximum number of messages that may be retrieved at a time is 32.