title: Akka parent is not getting messages from its child
body: <p>I fail to send messages from a child actor to its parent.
  I'm using Java 8 &amp; Akka 2.5.1</p>
  
  <p>The master parent is created in an impl class:</p>
  
  <pre><code>ActorSystem system = ActorSystem.create("My-Akka");
  ActorRef master = system.actorOf(Props.create(Master.class));
  master.tell(new Object_B_Message(), ActorRef.noSender());
  </code></pre>
  
  <p>The master class have the following receive implementation:</p>
  
  <pre><code>public Receive createReceive() {
     return receiveBuilder()
         .match(Object_B_Message.class, message -&gt; {
                      ActorRef objectB= context().actorOf(Props.create(ObjectB.class));
                      objectB.tell(message, this.getSelf());
     })
          .match(Object_C_message.class, message -&gt; {                      
                      ActorRef objectC = context().actorOf(Props.create(ObjectC.class));
                      objectC.tell(message, this.getSelf());
    })
  </code></pre>
  
  <p>I now want ObjectB to accept the message, do something and activate ObjectC by sending an object_C_message to the master.</p>
  
  <p>I'm able to activate object B, but when it tryies to send the object_c_message it just seems to go nowhere and the master is not receiving it. </p>
  
  <p>Here is the code in ObjectB:</p>
  
  <pre><code>public Receive createReceive() {
   return receiveBuilder()
     .match(Object_B_message.class, message -&gt; {
  </code></pre>
  
  <p>And none of the following lines of code was able to send the message to the master:</p>
  
  <pre><code>ActorRef ref = getContext().parent();
  this.getSelf().tell(object_c_message, this.getSelf());
  ref.tell(object_c_message, getSender());
  ref.tell(object_c_message, ActorRef.noSender());
  ref.tell(object_c_message, this.getSender());
  ref.tell(object_c_message, ref);
  ref.tell(object_c_message, context().parent());
  ref.tell(object_c_message, this.getSelf());
  </code></pre>
  
  <p>Akka prints to the console the following message 10 times before terminating the application:</p>
  
  <pre><code>[akka://My-Akka/user/$a/$f] Message [object_c_message] from Actor[akka://My-Akka/user/$a/$f#-489049040] to Actor[akka://My-Akka/user/$a/$f#-489049040] was not delivered. [1] dead letters encountered. This logging can be turned off...'.
  </code></pre>
  
  <p>BTW - just to make sure the code is wired up correctly I was able to direcly call the master with object_C_message and the master got the message and activated Object C.</p>
  
  <p>Thanks for any help.</p>