camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject [5/6] camel git commit: cluster-service : fix clustered route controller auto configuration
Date Wed, 27 Sep 2017 14:18:16 GMT
cluster-service : fix clustered route controller auto configuration


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6b144252
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6b144252
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6b144252

Branch: refs/heads/master
Commit: 6b144252ba7a992878a09ce09c0b37b88efbb8bd
Parents: 1c8bca8
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Wed Sep 27 13:57:58 2017 +0200
Committer: lburgazzoli <lburgazzoli@gmail.com>
Committed: Wed Sep 27 16:17:02 2017 +0200

----------------------------------------------------------------------
 .../spring/boot/ha/ClusteredRouteControllerAutoConfiguration.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/6b144252/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/ha/ClusteredRouteControllerAutoConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/ha/ClusteredRouteControllerAutoConfiguration.java
b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/ha/ClusteredRouteControllerAutoConfiguration.java
index 3be20a3..19a3959 100644
--- a/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/ha/ClusteredRouteControllerAutoConfiguration.java
+++ b/components/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/ha/ClusteredRouteControllerAutoConfiguration.java
@@ -67,7 +67,7 @@ public class ClusteredRouteControllerAutoConfiguration {
         controller.setFilters(filters);
         controller.addFilter(new ClusteredRouteFilters.IsAutoStartup());
 
-        if (ObjectHelper.isEmpty(configuration.getClusterService())) {
+        if (ObjectHelper.isNotEmpty(configuration.getClusterService())) {
             controller.setClusterService(configuration.getClusterService());
         }
 


Mime
View raw message