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 2018/06/06 14:58:47 UTC

[camel] 03/03: CAMEL-12537 - Added SB test and fixed spring.factories

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 3abbb6bae66f2653582484fad442a630bb96a575
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Jun 6 16:57:52 2018 +0200

    CAMEL-12537 - Added SB test and fixed spring.factories
---
 .../src/main/resources/META-INF/spring.factories                       | 2 +-
 .../java/org/apache/camel/itest/springboot/CamelGoogleMailTest.java    | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/platforms/spring-boot/components-starter/camel-google-mail-starter/src/main/resources/META-INF/spring.factories b/platforms/spring-boot/components-starter/camel-google-mail-starter/src/main/resources/META-INF/spring.factories
index b95fa82..e2660cb 100644
--- a/platforms/spring-boot/components-starter/camel-google-mail-starter/src/main/resources/META-INF/spring.factories
+++ b/platforms/spring-boot/components-starter/camel-google-mail-starter/src/main/resources/META-INF/spring.factories
@@ -16,5 +16,5 @@
 ## ---------------------------------------------------------------------------
 org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
 org.apache.camel.component.google.mail.springboot.GoogleMailComponentAutoConfiguration,\
-org.apache.camel.component.mail.stream.springboot.GoogleMailStreamComponentAutoConfiguration
+org.apache.camel.component.google.mail.stream.springboot.GoogleMailStreamComponentAutoConfiguration
 
diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelGoogleMailTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelGoogleMailTest.java
index d10bd0f..4df759d 100644
--- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelGoogleMailTest.java
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelGoogleMailTest.java
@@ -41,7 +41,8 @@ public class CamelGoogleMailTest extends AbstractSpringBootTestSupport {
 
     @Test
     public void componentTests() throws Exception {
-        this.runComponentTest(config);
+    	this.runComponentTest(config, "google-mail");
+        this.runComponentTest(config, "google-mail-stream");
         this.runModuleUnitTestsIfEnabled(config);
     }
 

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