#1496 - Rename 'targets' to 'routees'

This commit is contained in:
Viktor Klang 2011-12-17 16:33:29 +01:00
parent c2597ed33d
commit 42e8a4559e
10 changed files with 90 additions and 91 deletions

View file

@ -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) }
}