Update deployer to use actor path rather than old address (name)

This commit is contained in:
Peter Vlugter 2011-11-08 16:49:50 +01:00
parent 7b8a865c00
commit a7ed5d7816
20 changed files with 108 additions and 110 deletions

View file

@ -63,8 +63,7 @@ class RemoteActorRefProvider(val app: AkkaApplication) extends ActorRefProvider
actors.putIfAbsent(path.toString, newFuture) match { // we won the race -- create the actor and resolve the future
case null
val actor: ActorRef = try {
// FIXME (actor path): lookup should be by path
deployer.lookupDeploymentFor(name) match {
deployer.lookupDeploymentFor(path.toString) match {
case Some(DeploymentConfig.Deploy(_, _, routerType, nrOfInstances, DeploymentConfig.RemoteScope(remoteAddresses)))
// FIXME move to AccrualFailureDetector as soon as we have the Gossiper up and running and remove the option to select impl in the akka.conf file since we only have one