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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0.RC2, 3.0.0
    • camel-aws
    • None
    • 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

              acosentino Andrea Cosentino
              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