[
https://issues.apache.org/jira/browse/CAMEL-7654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095325#comment-14095325
]
Willem Jiang commented on CAMEL-7654:
-------------------------------------
Applied the patch with thanks to Velizar, I also added a HeaderFilterStrategy
to filter header and message attributes as we do in other camel components.
> AWS SQS Component Does Not Support Message Attribuets In The Producer
> ---------------------------------------------------------------------
>
> Key: CAMEL-7654
> URL: https://issues.apache.org/jira/browse/CAMEL-7654
> Project: Camel
> Issue Type: Improvement
> Components: camel-aws
> Affects Versions: 2.13.2, 2.14.0
> Reporter: Velizar Angelov
> Assignee: Willem Jiang
> Fix For: 2.13.2, 2.14.0
>
> Attachments: camel_aws_sqs_message_attributes.patch
>
>
> The work is based on jira CAMEL-7602 AWS SQS component does not support
> Message Attributes. Two changes are introduced in the attached patch:
> 1.Support for sending attributes in the SqsProducer is introduced.
> 2 On receiving a message with attributes in the SqsConsumer, application
> specific attributes contained as value of type Map<String,
> MessageAttributeValue> to an attribute called CamelAwsSqsMessageAttributes,
> are extracted and added as headers to the camel message. The reason is to
> avoid the MessageAttributeValue class, which is an SQS class, to leak to the
> client application so that the application will not depend on SQS classes.
--
This message was sent by Atlassian JIRA
(v6.2#6252)