Adapt camel-example-spring-boot-clustered-route-controller to the latest changes
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/ea4a722b Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/ea4a722b Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/ea4a722b Branch: refs/heads/master Commit: ea4a722bcbca5129f8fe3fdb0d56480b0af7628a Parents: 8ef99f5 Author: lburgazzoli <lburgazz...@gmail.com> Authored: Mon Sep 25 14:36:06 2017 +0200 Committer: lburgazzoli <lburgazz...@gmail.com> Committed: Mon Sep 25 14:36:06 2017 +0200 ---------------------------------------------------------------------- .../org/apache/camel/examples/cluster/ClusterBootstrap.java | 2 +- .../cluster-node/src/main/resources/application.properties | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/ea4a722b/examples/camel-example-spring-boot-clustered-route-controller/cluster-bootstrap/src/main/java/org/apache/camel/examples/cluster/ClusterBootstrap.java ---------------------------------------------------------------------- diff --git a/examples/camel-example-spring-boot-clustered-route-controller/cluster-bootstrap/src/main/java/org/apache/camel/examples/cluster/ClusterBootstrap.java b/examples/camel-example-spring-boot-clustered-route-controller/cluster-bootstrap/src/main/java/org/apache/camel/examples/cluster/ClusterBootstrap.java index 3f98fed..48a259c 100644 --- a/examples/camel-example-spring-boot-clustered-route-controller/cluster-bootstrap/src/main/java/org/apache/camel/examples/cluster/ClusterBootstrap.java +++ b/examples/camel-example-spring-boot-clustered-route-controller/cluster-bootstrap/src/main/java/org/apache/camel/examples/cluster/ClusterBootstrap.java @@ -21,7 +21,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; //CHECKSTYLE:OFF /** - * A sample Spring Boot application that starts the Atomix boostsrap node. + * A sample Spring Boot application that starts the Atomix bootstrap node. */ @SpringBootApplication public class ClusterBootstrap { http://git-wip-us.apache.org/repos/asf/camel/blob/ea4a722b/examples/camel-example-spring-boot-clustered-route-controller/cluster-node/src/main/resources/application.properties ---------------------------------------------------------------------- diff --git a/examples/camel-example-spring-boot-clustered-route-controller/cluster-node/src/main/resources/application.properties b/examples/camel-example-spring-boot-clustered-route-controller/cluster-node/src/main/resources/application.properties index 8a74e7d..4636507 100644 --- a/examples/camel-example-spring-boot-clustered-route-controller/cluster-node/src/main/resources/application.properties +++ b/examples/camel-example-spring-boot-clustered-route-controller/cluster-node/src/main/resources/application.properties @@ -41,7 +41,7 @@ camel.clustered.controller.initial-delay = 5s camel.clustered.controller.routes.heartbeat.clustered = false -camel.clustered.service.atomix.enabled = true -camel.clustered.service.atomix.mode = client -camel.clustered.service.atomix.nodes = localhost:8700 -camel.clustered.service.atomix.id = ${node.id} +camel.component.atomix.cluster.service.enabled = true +camel.component.atomix.cluster.service.mode = client +camel.component.atomix.cluster.service.nodes = localhost:8700 +camel.component.atomix.cluster.service.id = ${node.id} \ No newline at end of file