Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive SQS Message with UserMessageAttributes #229

Open
jtdawso opened this issue Apr 11, 2017 · 0 comments
Open

Receive SQS Message with UserMessageAttributes #229

jtdawso opened this issue Apr 11, 2017 · 0 comments

Comments

@jtdawso
Copy link
Contributor

jtdawso commented Apr 11, 2017

@aristidb Is there an example of getting a message with its UserMessageAttributes?

I have a message in SQS with UserMessageAttributes, if I have the following ReceiveMessage:
(delay, MessageAttributes, #messages, UserMessageAttributeName, queueName, wait time in seconds)
ReceiveMessage (Just 2) [] (Just 10) [] name (Just 20)
I am able to recieve the messages but without any UserMessageAttributes or MessageAttributes. When I do the following:

ReceiveMessage (Just 2) [MessageAll] (Just 10) [] name (Just 20)
I get all the message Attributes as expected, however if I put "All" or ".*" or the attribute that I am looking for in the UserMessageAttribute list, I get the following error:

XmlException {xmlErrorMessage = \"Missing DataType\"}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant