Hi Chanan, Yes, it states that you shouldn't distribute shared knowledge about your actor hierarchy throughout your program code. That is orthogonal to if you use an ActorRef or an ActorSelection to communicate. I think that it depends on your usage patterns and sometimes, especially during bootstrapping of a system you might need and ActorSelection to start of the communication to some named service provided by another actor.
I completely agree that if you intend to have a direct conversation with an actor, then you can exchange ActorRefs. Sorry if that was unclear in my previous reply. B/ On 14 May 2014 at 18:50:44, Chanan Braunstein ([email protected]) wrote: Ketil & Bjorn, If you look at the second post in this thread from Viktor, it seems his recommendation is the opposite. -- >>>>>>>>>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout. -- Björn Antonsson Typesafe – Reactive Apps on the JVM twitter: @bantonsson JOIN US. REGISTER TODAY! Scala Days June 16th-18th, Berlin -- >>>>>>>>>> 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
