You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
We need to set
All
toAttributeName
andMessageAttributeName
inReceiveMessage
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?
The text was updated successfully, but these errors were encountered: