I quickly scanned the akka docs and saw the following

To look-up a remote actor: 

   1. val selection =
   2. context.actorSelection(
   "akka.tcp://[email protected]:2552/user/actorName


But my question is, can I look-up the actor if I *don't know the host name* 
that it is running on? 

In my system, actors will be created on one of several nodes in the cluster 
and have a cluster wide unique application specific name that can in turn 
be used to create the actor's akka name. 

There will be other actors (or controllers from Play) that will also be 
able to calculate the unique name of the actor and want to send a message 
to it, but they won't know which host name in the cluster the actual actor 
is residing on (they appear on arbitrary hosts within the cluster). 

It sure seems that I should be able to ask "the cluster" (via my actor's 
context because my node is part of the cluster) what host-name that unique 
actor is running on. If not, then I'd like to create an enhancement request 
;^) 

Thanks in advance, 

- J 


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