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

sqs: AttributeName and MessageAttributeName #36

Closed
nabeken opened this issue Dec 21, 2014 · 0 comments
Closed

sqs: AttributeName and MessageAttributeName #36

nabeken opened this issue Dec 21, 2014 · 0 comments
Labels
bug This issue is a bug.

Comments

@nabeken
Copy link
Contributor

nabeken commented Dec 21, 2014

We need to set All to AttributeName and MessageAttributeName in ReceiveMessage to receive messages even if messages have message attributes. (See http://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ReceiveMessage.html)

aws-go does not work as I expected even if I set MessageAttributeNames = []string{"All"}.

Expected

aws-go should post to https://ap-northeast-1.queue.amazonaws.com/ Action=ReceiveMessage&AttributeName=All&MaxNumberOfMessages=10&MessageAttributeName=All&QueueUrl=<snip>&Version=2012-11-05

Actual

aws-go posts to https://ap-northeast-1.queue.amazonaws.com/ Action=ReceiveMessage&AttributeName.member.1=All&MaxNumberOfMessages=10&MessageAttributeName.member.1=All&QueueUrl=<snip>&Version=2012-11-05

Any ideas?

@stripecodahale stripecodahale added the bug This issue is a bug. label Dec 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants