On Fri, Jan 22, 2010 at 5:47 PM, Raymond Feng <[email protected]> wrote:
> Hi,
>
> I came across a scenario where multiple Nodes are created from the same
> NodeFactory. For example, in an OSGi framework, we have a singleton of
> NodeFactory which internally maintains the ExtensionPointRegistry. Two Nodes
> (A and B) with the same domain URI are created from the NodeFactory. These
> two Nodes will share the same EndpointRegistry as they have the same
> domainURI and domainRegistryURI. Node A publishes an endpoint to the
> EndpointRegistry and it will be seen by Node B. In this case, we cannot tell
> if the endpoint from A is local or remote to B. As a result, binding.sca
> cannot decide if it should handle the invocation from B to A as a local or
> remote one.
>

What do we expect should actually be happening in that case? AFAICT
right now the code will treat all the endpoints from either node A or
B as local to both nodes A and B. That doesn't seem unreasonable to me
and its why some of the one-JVM multi-node tests we have pass, but is
it what we want? From the comment above it sounds like that isn't
expected?

   ...ant

Reply via email to