Tag Archives: Queue

Queue Polling In Azure

In a previous tutorial we showed how to create and receive a message from queue , we can now adding polling
The MessageQueue class in StorageClient contains the polling inbuiltĀ  infrastructure and delivers the message via eventing:
mqObj.MessageReceived += new MessageReceivedEventHandler(mqObj_MessageReceived);
mqObj.PollInterval = 1000; // poll interval in milliseconds
mqObj.StartReceiving(); // starts polling

The event handler fires whenever a [...]

Read more

Creating an Azure Queue Service

This simple tutorial demonstrates how to create a message on a queue and receive that message:
1. Set up Authentication Details and Create a New Queue
The below code adds the the storage authentication details, creates a queue storage object (which is the storage container that the Message Queues are placed in), then creates a message queue [...]

Read more