Message Processing on Storage Queue
Azure Queue storage is a service for storing over 80 GB of messages that can be accessed from anywhere in the world via authenticated calls using HTTP or HTTPS. It provides cloud messaging between application components. In designing applications for scale, application components are often decoupled, so that they can scale independently. Queue storage delivers asynchronous messaging for communication between application components. A single queue message can be up to 64 KB in size, and a queue can contain millions of messages, up to the total capacity limit of a storage account.
Challenges in Processing Messages
Azure portal offers limited capability for processing the messages in storage queue like enqueue, dequeue and view the message through the Storage Explorer. Below are more useful capabilities not addressed in the portal:
updating the message content along with its properties
resubmitting the messages to the Storage queue
downloading the messages
uploading messages from a file into the Storage Queue
Users will have to either manually process or use custom code to achieve the above mentioned critical tasks. That would turn out to be a tedious process, considering there is a high number of Storage queues with each containing huge number of messages.
Solutions from Serverless360
Serverless360 now intends to fix the above-mentioned gap in the Azure portal by extending its support to process the messages in Storage Queue in addition to its monitoring capabilities on Storage Account.
Retrieve Messages from Storage Queue
In Serverless360 you can retrieve the messages from Storage Queues in read only mode , this will not remove the message from the Storage Queue. Each time the message is retrieved its dequeue count will get increased by one. Along with the message content, properties of the message can also be viewed
Update Message in Storage Queue
Once the messages are received from the Storage Queue you can perform an update operation on them. In this process the same message will be updated with the new content and visibility timeout. Note that this will not remove the message from the Storage Queue.
Resubmit Messages in Storage Queue
Once the messages are received from the Storage Queue you can perform a resubmit operation on them. In this process a new message will be submitted with the same content into the destination Storage Queue. You are also provided with a list of Storage Queues to which the messages can be resubmitted. This operation can be carried out on one or more messages.
Repair and Resubmit Message in Storage Queue
Once the messages are received from the Storage Queue you can perform a repair and resubmit operation on them. In this process a new message will be submitted with the updated content, visibility timeout and time to live into the destination Storage Queue. You are also provided with a list of Storage Queues to which the messages can be resubmitted. Note that this will remove the resubmitted message from the source Storage Queue.