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

camel-aws-sqs: amazonAWSHost is not honored when listing the queues

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0.RC2, 3.0.0
    • Component/s: camel-aws-sqs
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When a AWS-SQS component is setup to use a different host via the amazonAWSHost property, this host is not honored during the initial listing of the queues. Instead the component list tries to list the queues using the default amazon AWS host which. As a result this causes the component to fail the initialization and may prevent using camel with local/non-public instances of AWS SQS hosts. 

      Here's a log snippet taken from a code that configures the AWS-SQS URL as:

      aws-sqs://ckc?accessKey=accesskey&amazonAWSHost=localhost%3A33715&autoCreateQueue=false 
      

       

      This is what is printed on the logs:

      2019-09-20 14:27:34,058 [ool-11-thread-1] DEBUG org.apache.http.wire - http-outgoing-2 >> "POST / HTTP/1.1[\r][\n]"2019-09-20 14:27:34,058 [ool-11-thread-1] DEBUG org.apache.http.wire - http-outgoing-2 >> "Host: sqs.us-east-1.amazonaws.com[\r][\n]"

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acosentino Andrea Cosentino
                Reporter:
                orpiske Otavio Rodolfo Piske
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m