Have you checked CamelAwsSqsMessageAttributes and CamelAwsSqsAttributes
headers?
It is best if you log the whole exchange exactly after consuming to see for
yourself which headers are populated.
Something like:
from("aws-sqs:foo").
to("log:com.mycompany.order?showAll=true&multiline=true");
HTH,
On 21 July 2014 04:54, david.yuan <[email protected]> wrote:
> Hi all,
> I created a consumer to poll messages via aws sqs. I can retrieve message
> body but can not get message attributes.
>
> any suggestions?
> Thanks in advance
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-retrieve-Sqs-message-attributes-tp5754109.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Bilgin Ibryam
Apache Camel & Apache OFBiz committer
Blog: ofbizian.com
Twitter: @bibryam <https://twitter.com/bibryam>
Author of Instant Apache Camel Message Routing
http://www.amazon.com/dp/1783283475