You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2021/08/31 04:43:00 UTC

[jira] [Commented] (CAMEL-16901) SQS Endpoint initialization fails to page queues

    [ https://issues.apache.org/jira/browse/CAMEL-16901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17407067#comment-17407067 ] 

Andrea Cosentino commented on CAMEL-16901:
------------------------------------------

The 3.7.x branch is an LTS release, so we cannot change the behavior between to minor versions. The fix for CAMEL-16287, requires also to change the default value for autocreateQueue to false. This breaks the LTS policy. So we cannot backport. My suggestion is to switch to 3.11.x instead.

> SQS Endpoint initialization fails to page queues
> ------------------------------------------------
>
>                 Key: CAMEL-16901
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16901
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws-sqs
>    Affects Versions: 3.7.5
>            Reporter: Angelo Galvão
>            Priority: Major
>
> The doInit() method ignores the name of the queue when checking whether the queue already exists:
> ListQueuesResult listQueuesResult = client.listQueues();
> The issue is that method only returns 1000 results and the queue that my code is looking for is in the next page of results resulting in an  AWS.SimpleQueueService.NonExistentQueue error. The code doesn't use the pagination feature of the API. 
> The Sqs2Endpoint class of the master branch has the correct pagination logic.
>  



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