[ 
https://issues.apache.org/jira/browse/CAMEL-12500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16468863#comment-16468863
 ] 

ASF GitHub Bot commented on CAMEL-12500:
----------------------------------------

oscerd closed pull request #2329: CAMEL-12500: Add missing . between region and 
host in SqsEndpoint
URL: https://github.com/apache/camel/pull/2329
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsEndpoint.java
 
b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsEndpoint.java
index 7f3ab4d203d..45067347daf 100644
--- 
a/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsEndpoint.java
+++ 
b/components/camel-aws/src/main/java/org/apache/camel/component/aws/sqs/SqsEndpoint.java
@@ -129,7 +129,7 @@ protected void doStart() throws Exception {
             if (configuration.getRegion() != null && 
configuration.getQueueOwnerAWSAccountId() != null) {
                 String host = configuration.getAmazonAWSHost();
                 host = FileUtil.stripTrailingSeparator(host);
-                queueUrl = "https://sqs."; + configuration.getRegion() + host + 
"/"
+                queueUrl = "https://sqs."; + configuration.getRegion() + "." + 
host + "/"
                         + configuration.getQueueOwnerAWSAccountId() + "/" + 
configuration.getQueueName();
             } else if (configuration.getQueueOwnerAWSAccountId() != null) {
                 GetQueueUrlRequest getQueueUrlRequest = new 
GetQueueUrlRequest();


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Incorrect URL for AWS SQS queues
> --------------------------------
>
>                 Key: CAMEL-12500
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12500
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws
>            Reporter: Craig
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 2.22.0
>
>
> There should be a . between the region and the host. The queueUrl is, for 
> example, {{https://sqs.sqs.us-gov-west-1amazonaws.com}} - it should be 
> {{https://sqs.sqs.us-gov-west-1.amazonaws.com}}.
>  
> This bug was caused by 
> https://github.com/apache/camel/commit/6bb9f5559145bfc1f9db6718192e86c2a09a4e07



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to