您能否在使用 visibilityTimeout 创建的存储队列中检索消息

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

我正在使用 visibilityTimeout 选项在 Azure 存储队列中创建消息。当超时过去时,它们很好地出现在队列中。太棒了!

现在想象一条消息是使用错误的 visibilityTimeout 值创建的(例如,未来太远)。是否可以从队列中检索该消息,以便更新 and/or 删除?

仅供参考,我正在使用以下代码段创建消息:

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

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?

很遗憾没有。该消息将对所有呼叫者不可见。只有在 visibilityTimeout 过去后才会可见。