Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure queue: find whether item is in queue

Is it possible to query an azure queue to find whether an item is somewhere in a specified queue (based on some key property)?

like image 977
David S. Avatar asked Oct 02 '12 12:10

David S.


People also ask

Is azure queue FIFO?

One of the patterns easily supported by the Azure Service Bus is the 'first-in-first-out' (FIFO) pattern – which isn't supported in the other queue service – Azure Storage Queues. To realise FIFO with the Azure Service Bus is to use sessions.

What is dequeue count in azure queue?

This count is maintained by Azure Queue service, this is per message count. The DequeueCount element has a value of 1 the first time the message is dequeued. This value is incremented each time the message is subsequently dequeued.

What is Visibilitytimeout azure queue?

The visibilitytimeout mechanism, supported by Azure Storage Queues, causes the message to become invisible after read for a specified period of time. If the processing unit fails to delete the message in the specified time, the message will reappear on the queue. Then another process can retry the message.


1 Answers

Azure Queues are meant for async message passing, not searching. You should use an Azure Table or SQL Azure DB if you want indexing support.

Azure Queues will only let you peek the next message without dequeuing.

like image 167
SliverNinja - MSFT Avatar answered Nov 16 '22 00:11

SliverNinja - MSFT