Hi Eugene,
On Sun, May 4, 2014 at 6:23 PM, Eugene Dzhurinsky <jdeve...@gmail.com>wrote: > On Sun, May 04, 2014 at 09:46:50AM +0200, Heiko Seeberger wrote: > > class MyActor(myParameter: String) extends Actor with FSM { ... } > > > > context.actorOf(Props(new MyActor("myArgument"))) > > As far as I understand, this will create an actor on the same host/same > JVM, > but I need it to be created in a cluster. > I think you should rather use an initialization message instead of a constructor. It should preferrably result in a reply (e.g. Initialized) so the manager knows when the instance is ready for exposure to other parts of the system. -Endre > > -- > Eugene N Dzhurinsky > -- Akka Team Typesafe - The software stack for applications that scale Blog: letitcrash.com Twitter: @akkateam -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.