You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Mikołaj Matejko (Jira)" <ji...@apache.org> on 2022/05/10 10:13:00 UTC

[jira] [Created] (CAMEL-18088) camel-aws2-sqs - Property messageHeaderExceededLimit doesn't work

Mikołaj Matejko created CAMEL-18088:
---------------------------------------

             Summary: camel-aws2-sqs - Property messageHeaderExceededLimit doesn't work
                 Key: CAMEL-18088
                 URL: https://issues.apache.org/jira/browse/CAMEL-18088
             Project: Camel
          Issue Type: Bug
          Components: camel-aws2
    Affects Versions: 3.16.0
            Reporter: Mikołaj Matejko
         Attachments: image-2022-05-10-12-12-02-459.png

Within CAMEL-17593 a new property `messageHeaderExceededLimit` was added for producer. By setting it we can either ignore too many headers (aws sqs can contain max 10 headers), warn or throw. However none of them is working as due to the code bug this new code is always ignored.

Please look at screenshot, taken in Sqs2Producer class

!image-2022-05-10-12-12-02-459.png!



--
This message was sent by Atlassian Jira
(v8.20.7#820007)