You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/09/26 12:40:00 UTC

[jira] [Work logged] (CAMEL-14002) camel-aws-sqs: amazonAWSHost is not honored when listing the queues

     [ https://issues.apache.org/jira/browse/CAMEL-14002?focusedWorklogId=318940&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-318940 ]

ASF GitHub Bot logged work on CAMEL-14002:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Sep/19 12:39
            Start Date: 26/Sep/19 12:39
    Worklog Time Spent: 10m 
      Work Description: orpiske commented on pull request #3201: Fix CAMEL-14002
URL: https://github.com/apache/camel/pull/3201
 
 
   @oscerd this is related to the issue we discussed last week. When the amazonAWSHost is provided, the application still tries to use a default host when trying to list the queues (as explained on the ticket).
   
   I am sending this an preview to collect some feedback and further adjust the PR according to the project standards.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 318940)
    Remaining Estimate: 0h
            Time Spent: 10m

> camel-aws-sqs: 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
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)