Member since
10-12-2016
4
Posts
3
Kudos Received
0
Solutions
10-12-2016
08:57 PM
1 Kudo
Doesnt seem to work. I enlisted all the attributes using AttributesToJson() and my message attribute(sqs.foo) is not there {"sqs.ApproximateReceiveCount":"1"
"sqs.SentTimestamp":"1476305577165"
"path":"./"
"filename":"377732797336013"
"sqs.receipt.handle":"ABCCCblah" "sqs.ApproximateFirstReceiveTimestamp":"1476305578287"
"hash.algorithm":"md5"
"uuid":"065fe8cb-84e9-4c64-a973-64f6587b0128"
"sqs.message.id":"c22161c4-62d0-4c24-ab81-f50c68c740d4"
"sqs.SenderId":"AIDAJQF5U6RNP4URGKOPW"
"hash.value":"6813ed62f2481488e664bd6e1a814192"}
... View more
10-12-2016
06:33 PM
1 Kudo
that certainly makes sense, now I am trying to get that attribute like so >> I have a message attribute 'foo' in my sqs message. Here's what I am trying to do, get the sqs message , update the attribute 'filename=${foo}' and PutFile GetSQS -> UpdateAttribute(filename = ${foo}.txt) -> PutFile I am expecting that a file foo.txt will be created from d payload of the message and put in the folder specified by PutFile. However the ${foo} attribute is always empty.
... View more
10-12-2016
05:35 PM
I am not sure that helps, let me elaborate a little bit more SQS message has 2 parts Header/Metadata/Message Attributes - These are key value pairs with metadata of the message. Body/Content/Payload - this could be any data i put in the payload xml, json etc If I understand correctly, the SplitXML would apply to the payload of the message if it were xml payload. Not sure how it will be useful to extract the header values. I need to be able to extract the metadata from the sqs. The PutSQS on the other hand, provides dynamic attributes for exactly this purpose to add message atrributes to the sqs message.
... View more
10-12-2016
05:10 PM
1 Kudo
I am using GetSQS processor in my usecase, in the incoming sqs messsage there are some message attributes(or headers) specified. How can I read those message attributes from the getsqs processor ?
... View more
Labels: