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 2019/03/12 07:57:11 UTC
[camel] branch master updated: Camel-Zookeeper-Master: Fixed build
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
The following commit(s) were added to refs/heads/master by this push:
new 8716b68 Camel-Zookeeper-Master: Fixed build
8716b68 is described below
commit 8716b68d562606ede1091f5a4dc90a2c9bac47f8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 12 08:56:32 2019 +0100
Camel-Zookeeper-Master: Fixed build
---
.../camel/component/zookeepermaster/MasterEndpointFailoverTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-zookeeper-master/src/test/java/org/apache/camel/component/zookeepermaster/MasterEndpointFailoverTest.java b/components/camel-zookeeper-master/src/test/java/org/apache/camel/component/zookeepermaster/MasterEndpointFailoverTest.java
index ea8118a..da80a16 100644
--- a/components/camel-zookeeper-master/src/test/java/org/apache/camel/component/zookeepermaster/MasterEndpointFailoverTest.java
+++ b/components/camel-zookeeper-master/src/test/java/org/apache/camel/component/zookeepermaster/MasterEndpointFailoverTest.java
@@ -57,7 +57,7 @@ public class MasterEndpointFailoverTest {
// Need to bind the zookeeper client with the name "curator"
SimpleRegistry registry = new SimpleRegistry();
- registry.put("curator", client);
+ registry.bind("curator", client);
producerContext = new DefaultCamelContext(registry);
// Add the vm:start endpoint to avoid the NPE before starting the consumerContext1