Added failure detection to clustered and local routing.

Still not turned on since need deployment config support first.
Also refactored current routing quite a lot.

Signed-off-by: Jonas Bonér <jonas@jonasboner.com>
This commit is contained in:
Jonas Bonér 2011-08-30 14:31:59 +02:00
parent aabb5ff7ad
commit e0385e5203
11 changed files with 525 additions and 411 deletions

View file

@ -60,7 +60,7 @@ object Pi extends App {
// wrap them with a load-balancing router
val router = Routing.actorOf(
RoutedProps.default
.withRoundRobinRouter()
.withRoundRobinRouter
.withConnections(workers)
.withDeployId("pi"))