My application connects with multiple REST APIs.
I've been successful in adding a Ribbon Client/Load Balance to my application for one of those APIs with its own list of servers
Now I'd like to add a second client that would hold the server list for my second API.
In order to define my client name which is used by Archaius to load specific properties, I added the following property.
ribbon.client.name=myFirstClientName
My question is: How do I define another client on the same application?
I thought it would be a comma-separated list like:
ribbon.client.name=myFirstClientName,mySecondClientName
However, this didn't work.
Eventually, I want to end up with two lists of servers like
myFirstClientName.ribbon.listOfServers=<ip>,<ip>
mySecondClientName.ribbon.listOfServers=<ip>,<ip>
Any thoughts?