tlocator:register
This command registers an endpoint to the Service Locator. You can use it via the following command:
tlocator:register [options] serviceName URL
Where:
-
options can be:
Option
Description
--help Displays this help message. -p, --persistent With this option, the endpoint will be registered as always online. No heartbeat will be required. -
serviceName corresponds to the service name for endpoint to be added. It must be fully qualified if adding a new / unknown service name. For adding an endpoint to a known service name, the local part of service name is sufficient.
-
URL corresponds to the endpoint address to be registered to the Service Locator.
Example of command:
tlocator:register -p
"{http://my.company.com/my-service-namespace}MyServiceName"
http://my.server.com:8040/ services/MyServiceName
tlocator:register MyServiceName
http://another.server.com:8040/services/MyServiceName