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

SnsProducer/SqsProducer setting MessageAttributes with empty values which causes errors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.19.4, 2.20.2
    • 2.19.5, 2.20.3, 2.21.0
    • camel-aws
    • None
    • 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

            muellerc Christian Müller
            muellerc Christian Müller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: