Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326866

Summary: [RemoteSrvs] ServicePublicationHandler creates endpoints for loopback references
Product: [RT] ECF Reporter: Markus Kuppe <bugs.eclipse.org>
Component: ecf.remoteservicesAssignee: Markus Kuppe <bugs.eclipse.org>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Markus Kuppe CLA 2010-10-03 10:38:10 EDT
org.eclipse.ecf.internal.osgi.services.discovery.ServicePublicationHandler.serviceDiscovered(IServiceEvent) and org.eclipse.ecf.internal.osgi.services.discovery.ServicePublicationHandler.serviceUndiscovered(IServiceEvent) do not filter service ids that originate from the same runtime. This causes endpoints to be created/connected, which are never used. This is considerable overhead that should be avoided (in most scenarios)
The only scenario where this behavior is useful, is for local testing purposes. This use case however does not represent the default and hence can be activated with a system property.
Comment 1 Markus Kuppe CLA 2010-10-04 05:45:17 EDT
Fix released to HEAD
Property is Boolean org.eclipse.ecf.osgi.services.discovery.allowLoopbackReference
Comment 2 Markus Kuppe CLA 2010-10-04 05:45:20 EDT
Created attachment 180143 [details]
mylyn/context/zip