Using Blueprint/OSGi Support - 6.3

Talend Data Mapper User Guide

EnrichVersion
6.3
EnrichProdName
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Design and Development
EnrichPlatform
Talend Studio

OSGi Blueprint is a simple and powerful means of finding an executing code that is declared in an OSGi bundle. The RuntimeEngine object is registered as a Blueprint service that implements the org.talend.transform.runtime.api.RuntimeEngine interface. The RuntimeEngine allows you to add project archives and find and execute maps. See the javadoc for how to use the RuntimeEngine interface.

When working with Blueprint you have your client in some OSGi bundle. We recommend including your project archives as resources in that bundle so that everything is in the same place. You can load the archives into the runtime using RuntimeEngine.addProjectUri(URI) and use the platform URI scheme to refer to the project archive. For example, considering the bundle org.talend.transform.examples.blueprint you would use platform:/plugin/org.talend.transform.examples.blueprint/Examples.zip to get the Examples.zip project archive.