rename AddressExtractor to AddressFromURIString, see #1865

This commit is contained in:
Roland 2012-02-27 10:28:20 +01:00
parent 762c60d486
commit 5fe27b523b
11 changed files with 24 additions and 24 deletions

View file

@ -42,10 +42,10 @@ object RoutingProgrammaticallyExample extends App {
1 to 6 foreach { i router3 ! Message1(i) }
//#remoteRoutees
import akka.actor.{ Address, AddressExtractor }
import akka.actor.{ Address, AddressFromURIString }
val addresses = Seq(
Address("akka", "remotesys", "otherhost", 1234),
AddressExtractor("akka://othersys@anotherhost:1234"))
AddressFromURIString("akka://othersys@anotherhost:1234"))
val routerRemote = system.actorOf(Props[ExampleActor1].withRouter(
RemoteRouterConfig(RoundRobinRouter(5), addresses)))
//#remoteRoutees