private static string GetConfig()
{
return @"
akka.actor.deployment {
/service1 {
}
/service-direct {
router = from-code
}
/service-direct2 {
router = from-code
# nr-of-instances ignored when router = from-code
nr-of-instances = 2
}
/service3 {
dispatcher = my-dispatcher
}
/service4 {
mailbox = my-mailbox
}
/service-round-robin {
router = round-robin-pool
}
/service-random {
router = round-robin-pool
}
/service-scatter-gather {
router = round-robin-pool
within = 2 seconds
}
/service-consistent-hashing {
router = consistent-hashing-pool
}
/service-resizer {
router = round-robin-pool
resizer {
lower-bound = 1
upper-bound = 10
}
}
/some/random-service {
router = round-robin-pool
}
""/some/*"" {
router = round-robin-pool
}
""/*/some"" {
router = round-robin-pool
}
}
";
}