Can you retrieve messages in a Storage Queue that are created with visibilityTimeout

185 views Asked by At

I'm creating messages in an Azure Storage Queue, using the visibilityTimeout option. They appear nicely in the queue when the timeout passed. Great!

Now imagine a message was created using the wrong visibilityTimeout value (e.g. too far ahead in the future). Is it possible to retrieve that message from the queue, so it can be updated and/or deleted?

FYI, I'm creating the message using the following snippet:

queueSvc.createMessage('js-queue-items', queueMessageBuffer, { "visibilityTimeout": 10}, function (e, r) { ... });

1

There are 1 answers

1
Gaurav Mantri On BEST ANSWER

Now imagine a message was created using the wrong visibilityTimeout value (e.g. too far ahead in the future). Is it possible to retrieve that message from the queue, so it can be updated and/or deleted?

Unfortunately no. The message will remain invisible to all callers. It will become visible only after visibilityTimeout has elapsed.