Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7654

AWS SQS Component Does Not Support Message Attribuets In The Producer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.13.2, 2.14.0
    • 2.14.0
    • camel-aws
    • None
    • Patch Available
    • Unknown

    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.

      Attachments

        Issue Links

          Activity

            People

              njiang Willem Jiang
              velizar.angelov Velizar Angelov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: