This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 35627ddb0f318a65455512d3c159fcb822433ee7
Author: Craig Andrews <candr...@integralblue.com>
AuthorDate: Tue May 8 14:00:49 2018 -0400

    CAMEL-12500: Add missing . between region and host in SqsEndpoint
    
    There should be a . between the region and the host. Without this change, 
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`.
---
 .../src/main/java/org/apache/camel/component/aws/sqs/SqsEndpoint.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 7f3ab4d..4506734 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 @@ public class SqsEndpoint extends ScheduledPollEndpoint 
implements HeaderFilterSt
             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();

-- 
To stop receiving notification emails like this one, please contact
acosent...@apache.org.

Reply via email to