bigbluebutton
bigbluebutton copied to clipboard
Exception handling in akka's actors
Author Name: Pedro Beschorner Marin (Pedro Beschorner Marin) Original Redmine Issue: 1922, http://dev.mconf.org/redmine/issues/1922 Original Date: 2016-01-28 Original Assignee: Pedro Beschorner Marin
Investigate if exceptions in akka's actors kill them. If so, implement exception handlers like the one made for mconf-live: https://github.com/mconf/bigbluebutton/blob/mconf-live0.7.3/bigbluebutton-apps/src/main/scala/org/bigbluebutton/core/BigBlueButtonActor.scala#L31
Original Redmine Comment Author Name: Pedro Beschorner Marin (Pedro Beschorner Marin) Original Date: 2016-01-28T17:17:18Z
Actors are being killed by unhandled exceptions. Tested throwing an exception when a public chat message is sent at the meeting actor.
To avoid the actor's death, adapted this supervisorStrategy implementation: http://doc.akka.io/api/akka/2.1.4/index.html#akka.actor.Actor
Original Redmine Comment Author Name: Pedro Beschorner Marin (Pedro Beschorner Marin) Original Date: 2016-01-28T18:19:36Z
https://github.com/pedrobmarin/bigbluebutton/tree/akka-logging-actors-exceptions