summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java2
1 files changed, 1 insertions, 1 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 2e8cf741b6..5dc627d88d 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
@@ -301,7 +301,7 @@ public class ReplicatedEndpointRegistry extends BaseEndpointRegistry implements
Endpoint endpoint = (Endpoint)v;
// TODO: implement more complete matching
logger.fine("Matching against - " + endpoint);
- if (matches(uri, endpoint.getURI())) {
+ if (endpoint.matches(uri)) {
MapEntry entry = map.getInternal(endpoint.getURI());
// if (!entry.isPrimary()) {
((RuntimeEndpoint)endpoint).bind(registry, this);