You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "David Alvarez (Jira)" <ji...@apache.org> on 2020/10/30 12:22:00 UTC
[jira] [Created] (CAMEL-15777) Allow dynamically built routes for
accounts with more than 1k queues
David Alvarez created CAMEL-15777:
-------------------------------------
Summary: Allow dynamically built routes for accounts with more than 1k queues
Key: CAMEL-15777
URL: https://issues.apache.org/jira/browse/CAMEL-15777
Project: Camel
Issue Type: Improvement
Components: camel-aws-sqs
Affects Versions: Future
Reporter: David Alvarez
[https://github.com/apache/camel/blob/master/components/camel-aws-sqs/src/main/java/org/apache/camel/component/aws/sqs/SqsEndpoint.java#L161]
AWS AmazonSQS client has a method called {{listQueues()}} which only returns the first 1000 queues (alphabetically sorted). If the AWS account has more than 1k queues, camel would not find the queue/route. AmazonSQS allows pagination in order to get the full list of queues.
[https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_ListQueues.html]
I think it would be useful to implement the pagination for dynamically built routes.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)