Conversation
|
I would totally not hate this ;-) |
|
Are these attributes accessible in the resulting Message object? I haven't used them a lot in the past (generally just json-formatted message bodies) so I'm not super familiar with the structure. |
|
Yes, they are on the "raw" message like this: |
|
@TomFrost I've added attribute parsing, please take a look. |
|
Awesome! Two thoughts:
But, looking at the source for lodash.reduce, that's kind of an insane call stack for something we can do as simply as |
|
@TomFrost sure, I'll do both. (just a side note: we decided to stay with RabbitMQ for now) |
|
@tothandras I have created an enhanced, typescriped library based on this one with your fix in it - https://github.com/PruvoNet/squiss-ts |
I wonder if I should write a parser...
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SQS.html#receiveMessage-property
would become