尝试通过Boto获取SQS消息ID [英] Trying to Get SQS Message ID with Boto

查看:101
本文介绍了尝试通过Boto获取SQS消息ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看一下boto文档,当您从SQS队列中提取消息标识符时,我没有看到获取消息标识符的方法.谁能提供一些有关如何获取此信息的信息?

Looking at the boto docs, I don't see a method of fetching the message identifier when you pull it off of an SQS queue. Can anyone provide some information on how I would get this information?

推荐答案

Message实例应具有一个名为id的属性,其中包含消息ID.

The Message instance should have an attribute called id which contains the message id.

这篇关于尝试通过Boto获取SQS消息ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆