Search code examples
azureazure-storage-queues

How to dequeue message in Azure queue after TTL


I'm using queue to control number of message.

I set each message 1 minute TTL.

After 1 minute, these message are invisible but the total of message in queue does not decrease.

So, can the Azure queue dequeue automatically after TTL of message is over?

Thanks,


Solution

  • So, can the Azure queue dequeue automatically after TTL of message is over?

    No, because the message will be permanently removed from the queue after TTL has expired for the message.