Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15777

camel-aws - Allow dynamically built routes for accounts with more than 1k queues

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Information Provided
    • None
    • 3.x
    • camel-aws
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          People

            acosentino Andrea Cosentino
            daconde David Alvarez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: