Endpoint URI matching is broken if an inner component reference is wired using 
@target that points to the target component name only
------------------------------------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-3622
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3622
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core Runtime
    Affects Versions: Java-SCA-2.0-M5
            Reporter: Raymond Feng
            Assignee: Raymond Feng


For a component implemented by implementation.composite, if the inner component 
has a reference whose @target is set to another component without the service 
name, we can create an endpoint reference and set the proxy target endpoint 
using the component URI. 

When the binder tries to match it against the endpoints in the registry, 
EndpointRegistry.findEndpoint() method is confused and take it as the 
serviceURI (component/service/binding) instead of the structural URI. As a 
result, the matching fails.

I'm updating the /itest-recursive-multi-level to demonstrate the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to