[ 
https://issues.apache.org/jira/browse/CAMEL-7654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Velizar Angelov updated CAMEL-7654:
-----------------------------------

    Description: 
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. 

  was:
The work is based on jira CAMEL-7602. Two changes are introduced in the 
attaached 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. 


> 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: Bug
>          Components: camel-aws
>    Affects Versions: 2.14.0
>            Reporter: Velizar Angelov
>             Fix For: 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)

Reply via email to