You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2019/02/03 09:07:42 UTC

[camel] branch camel-2.x updated: CAMEL-13154 Fixed the running error of camel-example-spring-boot-master

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

ningjiang pushed a commit to branch camel-2.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-2.x by this push:
     new 7e5c281  CAMEL-13154 Fixed the running error of camel-example-spring-boot-master
7e5c281 is described below

commit 7e5c28132ddbf0c5b540aafe1fcabadb2f7d1541
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Sun Feb 3 09:37:56 2019 +0800

    CAMEL-13154 Fixed the running error of camel-example-spring-boot-master
---
 examples/camel-example-spring-boot-master/pom.xml          | 14 --------------
 .../src/main/resources/application.properties              |  1 +
 2 files changed, 1 insertion(+), 14 deletions(-)

diff --git a/examples/camel-example-spring-boot-master/pom.xml b/examples/camel-example-spring-boot-master/pom.xml
index be32e35..0471705 100644
--- a/examples/camel-example-spring-boot-master/pom.xml
+++ b/examples/camel-example-spring-boot-master/pom.xml
@@ -65,20 +65,6 @@
   <dependencies>
     <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.boot</groupId>
-      <artifactId>spring-boot-starter-undertow</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>org.springframework.boot</groupId>
       <artifactId>spring-boot-starter-actuator</artifactId>
     </dependency>
     <dependency>
diff --git a/examples/camel-example-spring-boot-master/src/main/resources/application.properties b/examples/camel-example-spring-boot-master/src/main/resources/application.properties
index 26ee85d..92f43e3 100644
--- a/examples/camel-example-spring-boot-master/src/main/resources/application.properties
+++ b/examples/camel-example-spring-boot-master/src/main/resources/application.properties
@@ -35,6 +35,7 @@ node.id = ${random.uuid}
 node.namespace = camel-master
 
 camel.springboot.name = SampleClusteredRouteController
+camel.springboot.main-run-controller = true
 camel.springboot.jmx-enabled = false
 
 camel.component.file.cluster.service.enabled = true