public RoundRobinMultiNodeConfig()
{
First = Role("first");
Second = Role("second");
Third = Role("third");
Fourth = Role("fourth");
CommonConfig = DebugConfig(true);
DeployOnAll(@"
/service-hello {
router = round-robin-pool
nr-of-instances = 3
target.nodes = [""@first@"", ""@second@"", ""@third@""]
}
/service-hello2 {
router = round-robin-pool
target.nodes = [""@first@"", ""@second@"", ""@third@""]
}
/service-hello3 {
router = round-robin-group
routees.paths = [
""@first@/user/target-first"",
""@second@/user/target-second"",
""@third@/user/target-third""]
}
");
}
}