W dniu wtorek, 8 marca 2016 23:10:38 UTC+1 użytkownik paweł kamiński 
napisał:
>
> but this is impossible to change concurrently as I log it and then pass to 
> Pattern#ask. I just wonder why it is send from 
> *akka://akka-system/deadLetters* and why *ReceiveTimeout* is not sent 
> back to Updater...
>
> Oh, that's right! A message sent without specifying a sender (like when 
you are invoking ActorRef.tell from outside an actor) originates from 
deadLetters, but message from an ask should originate from /temp/$.... 
 Something really weird is going on here.

Regarding the ReceiveTimeouts, The log entries are 25 minutes later, and 
log format is different - I don't know what to make of that. Two different 
program runs with configuration change in between? That would explain why 
serial # of B1 actor is different. Otherwise I don't see why should it be 
restarted, as the Updater actor appears to run "forever", unless you are 
terminating it somehow from the outside (in the code not shown here). If 
the actor crashed with an exception in receive, you'd notice that in the 
log. Also you'd probably have to configure appropriate supervisionStrategy 
in updater's actor parent to restart it.

 

> the application I try to put together is a proof of concept and there is 
> no use to use scala at this point.
>
> Well, it's a matter of what you are comfortable using. It would be much 
shorter in Scala, and easier to read for some people, but harder for others 
:) Neither am I suggesting that rewriting it in Scala would fix the problem 
at hand.

Cheers,
Rafał

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to