#1496 - Rename 'targets' to 'routees'
This commit is contained in:
parent
c2597ed33d
commit
42e8a4559e
10 changed files with 90 additions and 91 deletions
|
|
@ -28,7 +28,7 @@ object RoutingProgrammaticallyExample extends App {
|
|||
val actor3 = system.actorOf(Props[ExampleActor1])
|
||||
val routees = Vector[ActorRef](actor1, actor2, actor3)
|
||||
val router2 = system.actorOf(Props[ExampleActor1].withRouter(
|
||||
RoundRobinRouter(targets = routees)))
|
||||
RoundRobinRouter(routees = routees)))
|
||||
//#programmaticRoutingRoutees
|
||||
1 to 6 foreach { i ⇒ router2 ! Message1(i) }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue