You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ig...@apache.org on 2018/03/28 18:08:01 UTC

[camel] branch boot2ga updated: CAMEL-12378: Exclude spring-boot-starter-tomcat to get it work with undertow

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

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


The following commit(s) were added to refs/heads/boot2ga by this push:
     new 009c8a3  CAMEL-12378: Exclude spring-boot-starter-tomcat to get it work with undertow
009c8a3 is described below

commit 009c8a3a414144fb33f0d8aae6ea456bedf55d2a
Author: Tomohisa Igarashi <tm...@gmail.com>
AuthorDate: Wed Mar 28 14:06:15 2018 -0400

    CAMEL-12378: Exclude spring-boot-starter-tomcat to get it work with undertow
    
    Not a clean way though, the official example suggests it:
    https://github.com/spring-projects/spring-boot/blob/v2.0.0.RELEASE/spring-boot-samples/spring-boot-sample-undertow/pom.xml#L22-L27
---
 examples/camel-example-spring-cloud-servicecall/consumer/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/examples/camel-example-spring-cloud-servicecall/consumer/pom.xml b/examples/camel-example-spring-cloud-servicecall/consumer/pom.xml
index 3893bc7..4e32d50 100644
--- a/examples/camel-example-spring-cloud-servicecall/consumer/pom.xml
+++ b/examples/camel-example-spring-cloud-servicecall/consumer/pom.xml
@@ -84,6 +84,12 @@
     <dependency>
       <groupId>org.springframework.boot</groupId>
       <artifactId>spring-boot-starter-web</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>org.springframework.boot</groupId>
+          <artifactId>spring-boot-starter-tomcat</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.springframework.cloud</groupId>

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