I have a question related to Akka 2.0.1 in the Java API. I have the following situation:
Actor A: Receives a request from the UI. It will then do the following.
- Wait for message from UI
- Send msg to Actor B, to retrieve data
- Become an actor which is handling the answer from actor B, when it has been retrieved.
Actor B:
- Wait for message from Actor A.
- Retrieves data
- Calls
getSender().tell(xxx)
;
This doesn't work, and the Actor A will not received the answer. If however Actor B is using the global actorRef to Actor A in the system, in my case zzz.eventCaller.tell(xxx)
it will however work.
Is is me who have missed some basic stuff, or is this expected behavior or a bug?