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

@ -56,7 +56,7 @@ object Pi extends App {
val router = Routing.actorOf(
RoutedProps.apply()
.withConnections(workers)
.withRoundRobinRouter()
.withRoundRobinRouter
.withDeployId("pi"))
// phase 1, can accept a Calculate message