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

SnsProducer/SqsProducer setting MessageAttributes with empty values which causes errors

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.19.4, 2.20.2
    • Fix Version/s: 2.19.5, 2.20.3, 2.21.0
    • Component/s: camel-aws
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      If we send MessageAttributes to AWS where the value is null, it causes the following excheption:

      
      com.amazonaws.services.sns.model.InvalidParameterValueException: The message attribute 'JMSType' must contain non-empty message attribute value for message attribute type 'String'. (Service: AmazonSNS; Status Code: 400; Error Code: ParameterValueInvalid; Request ID: d3ab2323-b70d-5d11-b466-702f48b02816)
      
      

        Attachments

          Activity

            People

            • Assignee:
              muellerc Christian Müller
              Reporter:
              muellerc Christian Müller
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: