Skip to content

Instantly share code, notes, and snippets.

@giorgiosironi
Created September 22, 2016 16:18
Show Gist options
  • Save giorgiosironi/e10b8dc47efa79fb3886be6acf7bdb60 to your computer and use it in GitHub Desktop.
Save giorgiosironi/e10b8dc47efa79fb3886be6acf7bdb60 to your computer and use it in GitHub Desktop.
The AWS SNS + SQS pair is the first time I see a pub/sub where you send XML and it comes out as JSON
Originally sending "<key>value</key>"
Message received!
{
"Type" : "Notification",
"MessageId" : "9d30ae1f-9180-5049-870a-fe41946fbfd9",
"TopicArn" : "arn:aws:sns:us-east-1:14343913592:bus-articles--end2end",
"Message" : "<key>value</key>",
"Timestamp" : "2016-09-22T16:15:43.378Z",
"SignatureVersion" : "1",
"Signature" : "...",
"SigningCertURL" : "...",
"UnsubscribeURL" : "..."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment