To do this you should use the setting. The following is an example configuration:

    You can then inject a client with @Client("foo") and it will use the above configuration to load balance between the two configured servers.

    Enabling Health Checking

    1. http:
    2. foo:
    3. health-check-interval: 15s (2)
    4. health-check-uri: /health (3)
    1Whether to health check the service
    2The interval to wait between checks
    3The URI to send the health check request to