Yes, of course. You might also get a Terminated message if the other system is temporarily – but too long – unreachable. In that case the other system will remain quarantined, i.e. all communication from it will be blocked, in order to make sure Terminated means what it suggests: no zombies ;-)
Heiko -- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger> Public key: keybase.io/hseeberger <https://keybase.io/hseeberger> > On 24 Jun 2015, at 13:35, [email protected] wrote: > > I am using the latest akka. > I ended up doing a context().watch(RemoteActor) in Actor A. > This seems to work even if the remote node crashes. > Is this the expected behavior when death watching clustered nodes: The > watcher gets a Terminated message also on jvm crashes? > > Am Mittwoch, 24. Juni 2015 12:04:03 UTC+2 schrieb [email protected]: > 1) Actor A (Frontend Actor) is created. > 2) A message is send to a backend Actor (running on a node in the cluster) by > a constant-hashing router. Actor A is a member of this message. > 3) The Cluster node which received the message from A crashes > > How can Actor A be notified that the node crashed? > > Can I use Death watching for this? Or do I have to setup all the machinary > myself? > How would I register Actor A for receiving a Terminated message? > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/> > >>>>>>>>>> Check the FAQ: > >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html> > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > >>>>>>>>>> <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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/akka-user > <http://groups.google.com/group/akka-user>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- >>>>>>>>>> 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.
signature.asc
Description: Message signed with OpenPGP using GPGMail
