【问题标题】:Clarity on AWS SNS message attributes documentationAWS SNS 消息属性文档的清晰度
【发布时间】:2019-03-14 12:17:14
【问题描述】:

我无法理解 AWS SNS 文档所说的 Message attributes are optional and separate from, but sent along with, the message body. This information can be used by the receiver of the message to help decide how to handle the message without having to first process the message body 的行

那么,这是否意味着当我通过 SNS 发布消息以及消息属性时,它是否也会发送到已订阅 SNS 的端点(特别是 HTTP 订阅者)?

谢谢,

【问题讨论】:

    标签: amazon-web-services amazon-sns


    【解决方案1】:

    我尝试通过 SNS 向 HTTP 订阅者发送消息属性,并且能够将它们作为标头接收。所以,是的,您可以通过 http 订阅者接收消息属性。

    注意:我已经在 mule anypoint 工作室尝试过。

    【讨论】:

    • 您愿意分享允许您执行此操作的代码吗?我无法通过 HTTP 端点访问 SNS 消息属性。有关我的特定问题的更多信息,请在此处查看 stackoverflow.com/q/55930596/6037139 如果您有时间。
    猜你喜欢
    • 1970-01-01
    • 2014-11-17
    • 2022-08-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-08-14
    • 1970-01-01
    • 2021-03-28
    相关资源
    最近更新 更多