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].
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