天蓝色存储队列消息实时

天蓝色存储队列消息实时

本文介绍了天蓝色存储队列消息实时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是否完全理解,在Windows Azure队列存储中,一条消息最多可以保留7天?

Did I understood it right that in Windows Azure Queue storage a message can live for 7 days maximum?

7天后该消息会怎样?

What happens with the message after 7 days?

如果您在7天内阅读了一次并且不删除该消息,该怎么办?我的意思是您从队列中读取了消息,并将可见性超时设置为1分钟.阅读消息(不删除消息)并且1分钟超时可见性到期后会发生什么?我知道该消息已返回并可以在队列中使用,但是该消息的7天TTL会发生什么,是从该时间点更新到7天还是从消息创建以来总共7天?

What happens with the message if you read it once during the 7 days and you don't delete it? I mean you read the message from the queue and set the visibility timeout to let's say 1 minute. What happens after you have read the message (without deleting it) and the 1 minutes timeout visibility expires? I know is back and available on the queue but what happens with the 7 days TTL of that message, is it renewed to 7 days from that point or is 7 days totally since message was created?

推荐答案

是的,您正确理解了它.队列中的邮件会在7天之内自动删除,没有所谓的更新".一旦插入队列 storage ,它将被自动删除,并且您无法将其恢复(也没有恢复工具).

Yes, you understood it correctly. Messages from queues are deleted automatically within 7 days time and there is nothing called 're-newed'. Once inserted into the queue storage, it will be deleted automatically and there is no way you can recover it back(there are no recovery tools either).

这篇关于天蓝色存储队列消息实时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 20:39