Thank you Martynas, I will extract the issue on a separate project, and put it on github. Due to time constrains, most probably next week.
On Friday, September 5, 2014 9:34:31 AM UTC+3, Martynas Mickevičius wrote: > > Hi Creyer, > > this looks like a bug to me. Could you register an issue in the Akka issue > tracker on github? > > > On Thu, Sep 4, 2014 at 6:39 PM, creyer s <[email protected] <javascript:>> > wrote: > >> I have an Actor with FSM which connects to the database on several >> occasions. This Actor has a supervisor, which for all exceptions is >> restarting it. I have noticed that if the database fails to respond, and an >> exception is thrown, the actor is not restarted. This only happens when the >> connection to the database is done on the onTransition branch. >> The way I have fixed the issue, is by manually propagating the exception, >> from the onTermination (called with throwable or cause message). >> >> But this seems weird to me, is this normal??? Exceptions that happens on >> onTransition, are not caught by the supervisor, and the actor terminates. >> >> >> -- >> >>>>>>>>>> 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. >> > > > > -- > Martynas Mickevičius > Typesafe <http://typesafe.com/> – Reactive > <http://www.reactivemanifesto.org/> Apps on the JVM > -- >>>>>>>>>> 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.
