Cool!!!

I decide to write my own heavy PromiseActor and swift to PromiseActorRef 
when it's been fixed!

Thanks,
IL

On Sunday, February 8, 2015 at 3:53:44 PM UTC+8, rkuhn wrote:
>
> Incidentally there is an open PR for fixing this: 
> https://github.com/akka/akka/pull/16690 This will be sorted out in the 
> coming week, let’s see whether this can be done for 2.3.10 or not.
>
> Regards,
>
> Roland
>
> 7 feb 2015 kl. 20:49 skrev IL <[email protected] <javascript:>>:
>
> 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] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> *Dr. Roland Kuhn*
> *Akka Tech Lead*
> Typesafe <http://typesafe.com/> – Reactive apps on the JVM.
> twitter: @rolandkuhn
> <http://twitter.com/#!/rolandkuhn>
>  
>

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