From c06e614dad7f4fb25dbbb2d846874efec7cc9a77 Mon Sep 17 00:00:00 2001 From: rfeng Date: Tue, 9 Jun 2009 18:30:29 +0000 Subject: 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 --- .../apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- cgit v1.2.3