如何在远程演员中添加路由器?

时间:2012-07-04 03:49:57

标签: sbt akka sca

我已将其包含在我的application.conf中,但它无效:

akka {
    actor {
        provider = "akka.remote.RemoteActorRefProvider"

        deployment {
         /messageSender {
                router = "round-robin"
                nr-of-instances = 10
                target {
                    nodes = "akka://System@127.0.0.1:5555"
                }
            }
        }
    }
    remote {
        transport = "akka.remote.netty.NettyRemoteTransport"
    }

}

0 个答案:

没有答案