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
- links to