OK, in general when sending a message to a remote actor, the self reference 
(which is local) needs to be converted to a remote reference (i.e. 
akka.tcp://[email protected]:64002/user/b) so the remote actor has something it 
can respond to via the sender() call. I think it's doing it wrong when two 
actor systems are present.


On Friday, April 11, 2014 5:33:47 PM UTC-6, √ wrote:
>
> I have no idea what "Somewhere on the trip, it gets converted to an actor 
> in AS even though it's own context points to the BS actor system." means, 
> I'm afraid.
>
> There are a couple of invariants that need to be enforced:
>
> a) the hostname needs to be reachable (127.0.0.1 is a local address, so it 
> won't work where there is more than one machien for obvious reasons)
> b) you need to obtain references to the actors of the other systems via 
> actorSelection or otherwise (for bootstrap)
>
>
> On Sat, Apr 12, 2014 at 1:20 AM, Curtis Stanford <
> [email protected] <javascript:>> wrote:
>
>> I was trying to simplify it but there is another server MS at a known 
>> port that RS registers at. I guess my main question is, should this work? I 
>> assume at some point the BS actors ActorRef gets converted from local to 
>> remote. Somewhere on the trip, it gets converted to an actor in AS even 
>> though it's own context points to the BS actor system.
>>
>>
>> On Friday, April 11, 2014 5:12:48 PM UTC-6, √ wrote:
>>>
>>> How do they learn of eachother if all of their interfaces and ports are 
>>> random?
>>>
>>>
>>>   -- 
>> >>>>>>>>>> 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.
>>
>
>
>
> -- 
> Cheers,
> √
>  

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