camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <>
Subject [jira] [Commented] (CAMEL-7654) AWS SQS Component Does Not Support Message Attribuets In The Producer
Date Wed, 13 Aug 2014 09:47:11 GMT


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

View raw message