document RemoteRouterConfig, see #1846

- fix Java API
- change to pass in Addresses so that validation happens earlier
This commit is contained in:
Roland 2012-02-21 15:37:51 +01:00
parent 2d765718cf
commit ef0af0b47f
7 changed files with 56 additions and 11 deletions

View file

@ -90,7 +90,7 @@ akka.actor.deployment {
"deploy its children on remote host driven by programatic definition" in {
val router = system.actorOf(Props[Echo].withRouter(new RemoteRouterConfig(RoundRobinRouter(2),
Seq("akka://remote_sys@localhost:12347"))), "blub2")
Seq(Address("akka", "remote_sys", "localhost", 12347)))), "blub2")
val replies = for (i 1 to 5) yield {
router ! ""
expectMsgType[ActorRef].path