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 d6d388ab71119ab9d4d2dc4dabf6759c4cb42966 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Feb 14 14:51:20 2020 +0100 CAMEL-14552 - Create an AWS-SNS component based on SDK v2, Fixed some tests --- .../camel/component/aws2/sns/SnsComponentConfigurationTest.java | 4 ++-- components/camel-aws2-sns/src/test/resources/log4j2.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/SnsComponentConfigurationTest.java b/components/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/SnsComponentConfigurationTest.java index 7ed0b0f..974ff0f 100644 --- a/components/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/SnsComponentConfigurationTest.java +++ b/components/camel-aws2-sns/src/test/java/org/apache/camel/component/aws2/sns/SnsComponentConfigurationTest.java @@ -137,7 +137,7 @@ public class SnsComponentConfigurationTest extends CamelTestSupport { @Test(expected = IllegalArgumentException.class) public void createEndpointWithoutAccessKeyConfiguration() throws Exception { Sns2Component component = context.getComponent("aws2-sns", Sns2Component.class); - component.createEndpoint("aws-sns://MyTopic?secretKey=yyy"); + component.createEndpoint("aws2-sns://MyTopic?secretKey=yyy"); } @Test(expected = IllegalArgumentException.class) @@ -211,6 +211,6 @@ public class SnsComponentConfigurationTest extends CamelTestSupport { context.getRegistry().bind("amazonSNSClient", mock); Sns2Component component = context.getComponent("aws2-sns", Sns2Component.class); - component.createEndpoint("aws-sns://MyTopic?amazonSNSClient=#amazonSNSClient"); + component.createEndpoint("aws2-sns://MyTopic?amazonSNSClient=#amazonSNSClient"); } } diff --git a/components/camel-aws2-sns/src/test/resources/log4j2.properties b/components/camel-aws2-sns/src/test/resources/log4j2.properties index b04fda5..c7b091c 100644 --- a/components/camel-aws2-sns/src/test/resources/log4j2.properties +++ b/components/camel-aws2-sns/src/test/resources/log4j2.properties @@ -17,7 +17,7 @@ appender.file.type = File appender.file.name = file -appender.file.fileName = target/camel-aws-sns-test.log +appender.file.fileName = target/camel-aws2-sns-test.log appender.file.layout.type = PatternLayout appender.file.layout.pattern = %d [%-15.15t] %-5p %-30.30c{1} - %m%n appender.out.type = Console