Hello!

I would like to clarify the point of *sender()* reference. 

In a cluster sometimes I observe some strage effect when an actor A sends a 
message to some actor B, and actor B sends a message back to actor A using 
*sender()* - but the actual message is delivered to actor C (the same type 
as B under the same router). 

Is it possible that the reference to *sender()* in actor B is actually a 
reference to a *router*, used to create actor A, rather then actor A itself?

So actor A is created like below:

val actorA = system.actorOf(RandomPool(2).props(Props[ActorA]), 
"actorA_name")

Akka cluster 2.3.9, Scala 2.11

Thanks!

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