Project: talendesb
Issue TESB-11441: Service Locator does not correctly fail over
I have created two ESB instances, esb1 and esb2, using the default configureC1 and configureC2 scripts. Everything is working fine. I have created two service instances on _different_ ports on the same physical machine (my laptop). I can deploy and query both service instances while they are concurrently deployed. I have created a SL metadata field called "datacenter". This also works fine. So if I set the datacenter SL property service1 running on esb1 to "SF" and service2 running on esb2 to "DC" and then change the client's datacenter property it will correctly pick the correct instance. But if I set both server endpoint instances to "DC" and also set the client to "DC" the client will initially connect just fine, but when I stop that service instance I expect the client to failover to the other service instance. This does not happen. Instead it just does not find anything. See http://www.talendforge.org/forum/viewtopic.php?pid=118823#p118823 in the tech forum for sample error message.
Story points: 2