Fork me on GitHub
#aws
<
2017-01-20
>
singen11:01:22

Help, anyone? How do you set sqs message attributes in amazonica? I know how to set them, but the format is a complete mystery to me (sqs/send-message :queue-url a :message-body "hello world!" :message-attributes {”attr" “value”}) results in an error.

singen12:01:17

Never mind, managed to reverse-engineer it. In case anyone is interested, it’s map like this: (sqs/send-message :queue-url a :message-body "hello world!" :message-attributes {:test {:string-value "foo", :data-type "String", :string-list-values [], :binary-list-values []}})