ReceiveMessageRequest - withAttributeNames("All") in v1 to messageAttributeNames("All") in v2 #6593
-
|
Context - SQS - ReceiveMessageRequest I tried to replace withAttributeNames with messageAttributesNames as attributeNamesWithStrings is deprecated. But when I used messageAttributesNames I got empty list. But incase of attributeNamesWithStrings I'm able to retrieve all attributes. What's the issue with messageAttributeNames? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @karthika-49 Are they all system attributes that you are getting with If that doesn't work, kindly share a self-contained code sample that can reproduce the issue at our end for further investigation. Regards, |
Beta Was this translation helpful? Give feedback.
Hi @karthika-49
Are they all system attributes that you are getting with
attributeNamesWithStrings? Can you try usingmessageSystemAttributeNamesinstead?If that doesn't work, kindly share a self-contained code sample that can reproduce the issue at our end for further investigation.
Regards,
Chaitanya