Hi all,

I got a path of a PromiseActorRef and try to send a message to this path. 
It seems the message will not be received by the PromiseActorRef.

class SimpleActor extends Actor {
  override def receive: Receive = {
    case _ =>
      val path = sender().path.toSerializationFormat
      context.actorSelection(path) ! "Hi"
  }
}

val actor = system.actorOf(Props[SimpleActor])

val result = Await.result(akka.pattern.ask(actor, 42), Duration.Inf)


akka 2.3.9 (scala 2.11.4)

Any idea?

Thanks,
IL

-- 
>>>>>>>>>>      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.

Reply via email to