Service Locator

Talend ESB Development Guide

EnrichVersion
6.2
EnrichProdName
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
Talend Data Fabric
Talend ESB
Talend MDM Platform
Talend Data Services Platform
task
Design and Development
EnrichPlatform
Talend ESB

The Service Locator provides service consumers with a mechanism to register, and also discover service endpoints at runtime, thus isolating consumers from the knowledge about the physical location of the endpoint. Talend ESB uses Apache ZooKeeper as its service locator server. Zookeeper can be used either in standalone, therefore it is located within the Talend ESB distribution at <TalendRuntimePath>/zookeeper or as an OSGi feature in the Talend Runtime container. Please see http://zookeeper.apache.org/ for more information about ZooKeeper. Also note the examples folder of the Talend ESB distribution provides a "locator" example you can learn from.

In this section, you learn how to use the Service Locator via a simple greeting example.