If I got a remote ActorRef from RS in one actor system, could I use it in 
another actor system?

On Friday, April 11, 2014 5:49:47 PM UTC-6, Curtis Stanford wrote:
>
> Ahhh, I didn't think of that. Not sure that's the problem but it gives me 
> something to look into. 
>
> Thanks very much!
>
> On Friday, April 11, 2014 5:47:22 PM UTC-6, √ wrote:
>>
>>
>>
>>
>> On Sat, Apr 12, 2014 at 1:43 AM, Curtis Stanford <
>> cur...@stanfordcomputing.com> wrote:
>>
>>> 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://bs@127.0.0.1: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.
>>>
>>
>> I think you are somehow sharing ActorRefs between the both systems 
>> without obtaining them from within the systems. You can't just pass the 
>> ActorRefs in-memory between the 2 different ActorSystems, you need to send 
>> them via messages (remoting).
>>
>>
>> 

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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