rename Props.withRouting to .withRouter
This commit is contained in:
parent
4b2b41e725
commit
4bd9f6ae1a
11 changed files with 28 additions and 28 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue