Angelo Galvão created CAMEL-16901:
-------------------------------------

             Summary: Improve the filter queue 
                 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


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)

Reply via email to