Skip to content

Instantly share code, notes, and snippets.

@fzitou
Created September 9, 2020 03:25
Show Gist options
  • Save fzitou/b8782eab78607f8b683775d778c5cd50 to your computer and use it in GitHub Desktop.
Save fzitou/b8782eab78607f8b683775d778c5cd50 to your computer and use it in GitHub Desktop.
mq

http://docs.api.xiaomi.net/emq/BasicConcept.html

Receipt Handle

每条成功接收的Message中,除Message Body与Message Id外,还将包含一个全局唯一的Receipt Handle。Receiver正确处理这条消息后,需使用Receipt Handle从Queue中删除这条Message。否则,这条消息将在一段时间后,重新变成可见状态,并被Receiver再次接收。如果这种情况发生,再次接收到的Message的Receipt Handle将与前一次不同。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment