Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java-SCA-2.0
-
None
-
None
-
None
-
Patch Available
Description
RuntimeEndpointReferenceImpl has the following code to add an endpoint reference to the domain registry.
if (!getReference().getName().startsWith("$self$."))
compositeContext.getEndpointRegistry().addEndpointReference(this);
The check for a reference name starting with $self$ is intended to prevent references created by SCAClientFactory.getService() from being added to the registry. The check works fine for references to colocated services. However references to remote services start with a different string, $sca.client$.