You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Morning all. Currently when we publish a message via SNS, we don’t use raw delivery, so our message is wrapped in an SNS message type. When we publish “point-to-point”, i.e. straight to a queue, we follow a similar pattern of double encoding the underlying message:
Which is a subset of the SNS message format.
I was thinking about how we might want to support raw messages, what do people think about simply having the Message property contain the message object, rather than a serialized string of it. On deserialization we’d just check the type of the Message property, so there would be no configuration on the receiving side (if you use JustSaying), other consumers would need to understand this pattern.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Morning all. Currently when we publish a message via SNS, we don’t use raw delivery, so our message is wrapped in an SNS message type. When we publish “point-to-point”, i.e. straight to a queue, we follow a similar pattern of double encoding the underlying message:
Which is a subset of the SNS message format.
I was thinking about how we might want to support raw messages, what do people think about simply having the Message property contain the message object, rather than a serialized string of it. On deserialization we’d just check the type of the Message property, so there would be no configuration on the receiving side (if you use JustSaying), other consumers would need to understand this pattern.
So this above example becomes:
Beta Was this translation helpful? Give feedback.
All reactions