I don't have code samples right now, but my issue is identical to the one 
discussed here:<https://groups.google.com/forum/#!topic/akka-dev/6JSe4RIMPOU>
https://groups.google.com/forum/#!topic/akka-dev/6JSe4RIMPOU


On Wednesday, May 28, 2014 10:23:34 AM UTC+2, √ wrote:
>
> That shouldn't happen unless the child actor exits before it gets the 
> message.
> Can you share code that reproduces the problem?
>
>
> On Wed, May 28, 2014 at 10:15 AM, Ketil Johannessen <
> [email protected] <javascript:>> wrote:
>
>> I sometimes run into cases where I instantiate a child actor ,then 
>> subsequently ask that child with a message, only to discover that the ask 
>> became dead letter due to the child not  been initialized yet. I guess my 
>> mistake is to apply a synchronous mindset instead of realizing that the 
>> child actor creation happens asynchronously, and I could avoid this by 
>> passing in a constructor parameter to the child instance instead.
>>
>> Or should the usage of ask be minimized whenever possible, since an 
>> important implicit part of the ask contract is the expectation that you 
>> will receive a response within a given time interval (something which 
>> really an async architecture cannot guarantee anyway)? 
>>
>> Is ask something that should only be used at the boundary between the 
>> synchronous world and the asynchronous actor world, eg in handling http 
>> requests?
>>  
>> -- 
>> >>>>>>>>>> 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