title: InvalidActorNameException - actor name {name} is not unique
body: <p>So I'm getting started using Akka actors inside of my Play 2.0 app. I noticed quickly that repeated calls to sending messages to the same actor, specified via:</p>
  
  <pre><code>val myActor = Akka.system.actorOf(Props[MyActor], name = "myactor")
  </code></pre>
  
  <p>Resulted in <code>InvalidActorNameException</code>. </p>
  
  <p>I then started reading up on the creation of Actors in this <a href="http://doc.akka.io/docs/akka/2.0.2/scala/actors.html#Creating_Actors_with_default_constructor" rel="nofollow">doc</a></p>
  
  <p>The doc seemed to recommend creating a "master" Actor class with all of the individual actors specified in there. The <code>receive</code> of this actor class would, in turn, match on the message and delegate the message to the appropriate Actor.</p>
  
  <p>So I tried this and now have something like:</p>
  
  <pre><code>class MasterActor extends Actor{
    import context._
    val emailActor = actorOf(Props[EmailActor], name = "emailActor")
    protected def receive = {
      case reminder : BirthdayReminder =&gt; emailActor ! reminder
    }
  
  }
  </code></pre>
  
  <p>Problem is that I'm in the same situation I was before. I don't know how to avoid the <code>InvalidActorNameException</code> when I try something like:</p>
  
  <pre><code>    val myActor = Akka.system.actorOf(Props[MasterActor], name = "MasterActor")
      myActor ! BirthdayReminder(someBirthday)
  </code></pre>
  
  <p>So what's the right way to organize my Actors?</p>