You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/09/11 16:30:34 UTC
[camel] 03/03: Camel-AWS2-SNS: It's snsclient not sqsclient
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 613dcba2f8446bc54aaa62ee3ad77d6a0b67a1ee
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Sep 11 18:29:50 2020 +0200
Camel-AWS2-SNS: It's snsclient not sqsclient
---
.../apache/camel/component/aws2/sns/localstack/Aws2SNSBaseTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/localstack/Aws2SNSBaseTest.java b/components/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/localstack/Aws2SNSBaseTest.java
index 94c5ec5..bbc05bd 100644
--- a/components/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/localstack/Aws2SNSBaseTest.java
+++ b/components/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/localstack/Aws2SNSBaseTest.java
@@ -57,13 +57,13 @@ public class Aws2SNSBaseTest extends ContainerAwareTestSupport {
}
public SnsClient getSNSClient() {
- SnsClient sqsClient = SnsClient
+ SnsClient snsClient = SnsClient
.builder()
.endpointOverride(URI.create("http://" + getS3Url()))
.credentialsProvider(StaticCredentialsProvider.create(AwsBasicCredentials.create("xxx", "yyy")))
.region(Region.EU_WEST_1)
.build();
- return sqsClient;
+ return snsClient;
}
@Override