Ok after reading the documentation which says :
*The supervisor itself is supervised by the top-level actor provided by
the ActorSystem, which has the default policy to restart in case of
all Exception cases (with the notable exceptions
of ActorInitializationException and ActorKilledException).
On Thu, Jan 12, 2017 at 2:31 PM, Kilic Ali-Firat
wrote:
>
> override def supervisorStrategy: SupervisorStrategy =
> OneForOneStrategy(maxNrOfRetries = 10, withinTimeRange = 1 minutes) {
> case _ : Exception => Resume
> }
>
The supervision strategy must be in the *parent* of this acto