Hmmm, that shouldn't happen, I poison self all the time no problem, I think 
maybe is a bug on the akka.patterns, instead try creating your own 
supervisor strategy with time in mind:

http://doc.akka.io/docs/akka/2.4.2-RC2/scala/fault-tolerance.html

Then read a bit there what the default supervisor does, etc, that should be 
enough, remember the supervisor is set at the parent actor

On Friday, February 5, 2016 at 7:03:27 PM UTC, Paul Cleary wrote:
>
> I just got this...
>
> When using the *BackoffSupervisor* for a child, calling 
> *context.stop(self)* or *self ! PoisonPill* from *the child* will invoke 
> supervision and force a restart.
>
> Therefore, when using the *BackoffSupervisor*, in order to terminate the 
> child normally, you MUST do a *context.parent ! PoisonPill*
>
> I wonder if there is a better way.  I want to say from the child "I am 
> done, and I want to terminate successfully"
>

-- 
>>>>>>>>>>      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.

Reply via email to