Project: talendesb
Issue TESB-10959: Can not create service reference using blueprint for sam agent and locator features (Only Investigate a solution)
The sam agent and locator features are currently publishing OSGi services that can be referenced in user bundles to add the features to endpoints and clients. The problem is that the features are published with their concrete classes. This has two problems: 1. The user bundle needs to know the impl class name which should rather be hidden as an implementation detail 2. Blueprint create a proxy for each service it imports/references. This is not possible for concrete classes. Probably it can work using asm but this is a sure cause of headaches. So I propose to additionally publish these features with the interface org.apache.cxf.feature.Feature. To identify them I propose to add a property id with these values: locator: id=org.talend.esb.locator.feature sam: id=org.talend.esb.sam.feature I will add a patch. It would be nice to have this in 5.3.0 but it can be moved to 5.3.1
Story points: 2