...
We also support a pluggable EndpointResolver on the ActivationSpec to allow you to specify an endpoint in a pluggable stategy. Also for cases where there are multiple physical endpoints for a given resolver (e.g. multiple services offering the same interface), we support a pluggable EndpointChooser strategy, such as first choice, random and so forth to use whatever selection policy you wish.
...