On Thu, Jan 12, 2017 at 2:31 PM, Kilic Ali-Firat <[email protected]>
wrote:
>
> override def supervisorStrategy: SupervisorStrategy =
> OneForOneStrategy(maxNrOfRetries = 10, withinTimeRange = 1 minutes) {
> case _ : Exception => Resume
> }
>
The supervision strategy must be in the *parent* of this actor.
You're not setting your "own" strategy, your parent is handling it for it.
What you've done here has effect for any children of this Actor, not for
itself.
Read up about spawning child actors.
--
Cheers,
Konrad 'ktoso' Malawski
Akka <http://akka.io/> @ Typesafe <http://typesafe.com/>
--
>>>>>>>>>> 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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.