Reputation: 1490
How can I read all messages from Azure storage account queue? The basic "Get messages from queue" job has only the number of messages where I can specify one static number:
Can I somehow get the current message count from queue for this task? Or should I just put high enough number for number of messages?
My aim is to go through all messages in queue and check if there is one particular text.
Upvotes: 1
Views: 1223
Reputation: 14324
For now, this is not allowed, even you set a high enough number.
Cause there is a limit with the azure storage queue rest API, the number of messages to retrieve from the queue, up to a maximum of 32. You could check here URI Parameters.
A nonzero integer value that specifies the number of messages to retrieve from the queue, up to a maximum of 32.
And there is a 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.
Upvotes: 1