[ https://issues.apache.org/jira/browse/CAMEL-14002?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16934388#comment-16934388 ]
Otavio Rodolfo Piske commented on CAMEL-14002: ---------------------------------------------- I'll send a PR for this. > amazonAWSHost is not honored when listing the queues > ---------------------------------------------------- > > Key: CAMEL-14002 > URL: https://issues.apache.org/jira/browse/CAMEL-14002 > Project: Camel > Issue Type: Bug > Components: camel-aws-sqs > Affects Versions: 3.0.0 > Reporter: Otavio Rodolfo Piske > Priority: Major > > 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: > {code:java} > aws-sqs://ckc?accessKey=accesskey&amazonAWSHost=localhost%3A33715&autoCreateQueue=false > > {code} > > This is what is printed on the logs: > {code:java} > 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]"{code} > > -- This message was sent by Atlassian Jira (v8.3.4#803005)