Add dispatcher to deployment config, see #2839
This commit is contained in:
parent
7e79bcd4ae
commit
ae0cb4a756
18 changed files with 293 additions and 76 deletions
|
|
@ -16,6 +16,7 @@ object RemoteDeployerSpec {
|
|||
router = round-robin
|
||||
nr-of-instances = 3
|
||||
remote = "akka://sys@wallace:2552"
|
||||
dispatcher = mydispatcher
|
||||
}
|
||||
}
|
||||
akka.remote.netty.tcp.port = 0
|
||||
|
|
@ -35,14 +36,14 @@ class RemoteDeployerSpec extends AkkaSpec(RemoteDeployerSpec.deployerConf) {
|
|||
"be able to parse 'akka.actor.deployment._' with specified remote nodes" in {
|
||||
val service = "/user/service2"
|
||||
val deployment = system.asInstanceOf[ActorSystemImpl].provider.deployer.lookup(service.split("/").drop(1))
|
||||
deployment must be('defined)
|
||||
|
||||
deployment must be(Some(
|
||||
Deploy(
|
||||
service,
|
||||
deployment.get.config,
|
||||
RoundRobinRouter(3),
|
||||
RemoteScope(Address("akka", "sys", "wallace", 2552)))))
|
||||
RemoteScope(Address("akka", "sys", "wallace", 2552)),
|
||||
"mydispatcher")))
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue