The application provides the ability to route custom API calls to a particular server or group of servers when these APIs are invoked either remotely or locally.
To enable this, the server(s) and the protocol must be specified in the yifclient.properties file and in the required APIs. The endpoint is the configured server(s) or a protocol which is used for routing the API calls.
If the XAPI client is configured for multiple URLs, an attempt to connect is made to each server in the group in turn. If the connection works but something else fails, no other server is tried and an exception is thrown.
To direct API calls to a specific server or group of servers, perform the following steps: