You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Christian Müller (JIRA)" <ji...@apache.org> on 2018/02/25 21:46:00 UTC
[jira] [Created] (CAMEL-12292) SnsProducer/SqsProducer setting
MessageAttributes with empty values which causes errors
Christian Müller created CAMEL-12292:
----------------------------------------
Summary: SnsProducer/SqsProducer setting MessageAttributes with empty values which causes errors
Key: CAMEL-12292
URL: https://issues.apache.org/jira/browse/CAMEL-12292
Project: Camel
Issue Type: Bug
Components: camel-aws
Affects Versions: 2.20.2, 2.19.4
Reporter: Christian Müller
Assignee: Christian Müller
Fix For: 2.19.5, 2.20.3, 2.21.0
If we send MessageAttributes to AWS where the value is null, it causes the following excheption:
{code}
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)
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)