Akka 2.0 Remoting: How to Start / Distribute Remote Members at Run Time

Using akka 1.3.1, I was able to do something like this earlier:

Actor.remote.start(config.server.host, config.server.port) Actor.remote.register("service", Actor.actorOf[ServiceHandler].start())

To start the remote server using the provided host / port configuration, and then allow me to register the remote services at runtime later. Is there any way to get this behavior in Akka 2.0 without having to predefine everything in akka conf files?

Thank!

+3
source share
1 answer

Your subjects reach automatically along the way in removal to 2.0. Read the removal documentation here: http://doc.akka.io/docs/akka/2.0.1/scala/remoting.html

+2
source

All Articles