Added trapExceptions to declarative supervisor configuration
This commit is contained in:
parent
174ca6a63c
commit
741a3c2b8c
15 changed files with 50 additions and 41 deletions
|
|
@ -13,7 +13,7 @@ import se.scalablesolutions.akka.state.TransactionalState
|
|||
class Boot {
|
||||
val factory = SupervisorFactory(
|
||||
SupervisorConfig(
|
||||
RestartStrategy(OneForOne, 3, 100),
|
||||
RestartStrategy(OneForOne, 3, 100, List(classOf[Exception])),
|
||||
// Dummy implementations of all authentication actors
|
||||
// see akka.conf to enable one of these for the AkkaSecurityFilterFactory
|
||||
Supervise(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue