summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-06-09 18:30:29 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-06-09 18:30:29 +0000
commitc06e614dad7f4fb25dbbb2d846874efec7cc9a77 (patch)
treefc8f5c89de73dcb8e94a02b93fd5be6a59cd9138
parente0ab8e6a801d7598b00dbe286caaf5c6b38d1ddd (diff)
Use componentURI#srevice-binding(serviceName/bindingName) as the endpoint URI
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@783091 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java b/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
index 81ddfe8b70..e0c4430edb 100644
--- a/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
+++ b/java/sca/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java
@@ -147,7 +147,8 @@ public class ReplicatedEndpointRegistry implements EndpointRegistry {
if (bindingName == null) {
bindingName = ep.getService().getName();
}
- String epURI = ep.getComponent().getURI() + "#" + ep.getService().getName() + "/" + bindingName;
+ String epURI =
+ ep.getComponent().getURI() + "#service-binding(" + ep.getService().getName() + "/" + bindingName + ")";
return epURI;
}