Added trapExceptions to declarative supervisor configuration

This commit is contained in:
jboner 2009-11-30 21:22:24 +01:00
parent 72eda9780f
commit 7b1bae36a8
15 changed files with 50 additions and 41 deletions

View file

@ -20,7 +20,7 @@ import org.atmosphere.cpr.BroadcastFilter
class Boot {
val factory = SupervisorFactory(
SupervisorConfig(
RestartStrategy(OneForOne, 3, 100),
RestartStrategy(OneForOne, 3, 100, List(classOf[Exception])),
Supervise(
new SimpleService,
LifeCycle(Permanent)) ::