You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zineb Bendhiba (Jira)" <ji...@apache.org> on 2021/11/02 15:00:09 UTC

[jira] [Created] (CAMEL-17158) AWS2 SQS When sending messages to a queue that has delay, the delay is not respected

Zineb Bendhiba created CAMEL-17158:
--------------------------------------

             Summary: AWS2 SQS When sending messages to a queue that has delay, the delay is not respected
                 Key: CAMEL-17158
                 URL: https://issues.apache.org/jira/browse/CAMEL-17158
             Project: Camel
          Issue Type: Bug
          Components: camel-aws2
            Reporter: Zineb Bendhiba
            Assignee: Zineb Bendhiba


If we create an SQS queue with a delay. The messages sent via camel-aws2 SQS don't respect the delay that has been set for the Queue.

The reason is that camel sets default values when sending messages, that override the queue settings.

As a fix : when no settings are specified for the producer, don't override values like delay=0s, so that we use the settings of the created queue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)