summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-12-11 17:59:30 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2009-12-11 17:59:30 +0000
commit8871c7e6e8c6b2737742d27397b51386ee213fae (patch)
treee1e43495dd427705f1fe19301673e217a77b7845 /sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany
parent164b78f7b9a383b038d093efcecd30cf84056958 (diff)
Correct spelling mistake and increase repeat count.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@889734 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany')
-rw-r--r--sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java b/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
index 6950b1fca2..0c2144ea49 100644
--- a/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
+++ b/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
@@ -61,7 +61,7 @@ public class ReplicatedEndpointRegistry implements EndpointRegistry, LifeCycleLi
private static final String MULTICAST_ADDRESS = "228.0.0.100";
private static final int MULTICAST_PORT = 50000;
- private static final int FIND_REPEAT_COUNT = 3;
+ private static final int FIND_REPEAT_COUNT = 10;
private int port = MULTICAST_PORT;
private String address = MULTICAST_ADDRESS;
@@ -332,6 +332,7 @@ public class ReplicatedEndpointRegistry implements EndpointRegistry, LifeCycleLi
Thread.sleep(1000);
} catch(Exception ex){
// do nothing
+ repeat=0;
}
}
}
@@ -352,7 +353,7 @@ public class ReplicatedEndpointRegistry implements EndpointRegistry, LifeCycleLi
return (Endpoint)map.get(uri);
}
- public List<EndpointReference> getEndpointRefereneces() {
+ public List<EndpointReference> getEndpointReferences() {
return endpointreferences;
}