java - Amazon SNS -> SQS message body -


i'm sending message sns topic sqs. when i'm checking body of sqs message on client, whole of message metadata being sent in sqs body.

i.e. if i'm sending message "hello world" topic, client receiving:

    benflowers {   "type" : "notification",   "messageid" : "84102bd5-8890-4ed5-aeba-c15fafc926dc",   "topicarn" : "arn:aws:sns:eu-west-1:534706846367:helloworld",   "message" : "hello world",   "timestamp" : "2012-06-05t13:44:22.360z",   "signatureversion" : "1",   "signature" : "qzh0qxhijbkylafwc9pge+lqqdwhgwkizcw2ld1evrxnfsem4yybtgouqgx26v0m1qhfd4rqcbze3onqx5jfhjfv4hn45fncsfvnmflpgnutmjwblsk8f6znwgty8utk9xrtenyzk59k3vj4wtj5kcej+2vh7sbv15faxecatdq=",   "signingcerturl" : "https://sns.eu-west-1.amazonaws.com/simplenotificationservice-f3ecfb7224c7233fe7bb5f59f96de52f.pem",   "unsubscribeurl" : "https://sns.eu-west-1.amazonaws.com/?action=unsubscribe&subscriptionarn=arn:aws:sns:eu-west-1:534706846367:helloworld:8a3acde2-cb0b-4a56-9b9c-b75ed7307556" } 

this bit annoying having split message body on other end. speed pretty important in application eliminate this. there way send message sns , ignore rest of metadata?

thanks, ben

sns rolled out feature allows set 'raw message delivery' on sns topic.

http://docs.aws.amazon.com/sns/latest/dg/large-payload-raw-message.html


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -