rename Props.withRouting to .withRouter

This commit is contained in:
Roland 2011-12-13 11:32:24 +01:00
parent 4b2b41e725
commit 4bd9f6ae1a
11 changed files with 28 additions and 28 deletions

View file

@ -54,7 +54,7 @@ object Pi extends App {
var start: Long = _
// create a round robin router for the workers
val router = context.actorOf(Props(new Worker).withRouting(RoundRobinRouter(nrOfInstances = 5)), "pi")
val router = context.actorOf(Props(new Worker).withRouter(RoundRobinRouter(nrOfInstances = 5)), "pi")
// message handler
def receive = {