What's a stop command? Do you mean the `akka.actor.PoisonPill`? If so, this
will stop/kill/terminate the actor, not restart it. You can send
`akka.actor.Kill` which will make your actor blow up (fail) with
an `ActorKilledException`, so the supervisor kicks in. By default it would
also stop your actor, but you can change the supervisor strategy to
`SupervisorStrategy.Restart` for an `ActorKilledException`.

Heiko


On Tue, Apr 22, 2014 at 4:32 PM, Chanan Braunstein <
[email protected]> wrote:

> Not even sure this make sense, but I am trying to work around a bug (I
> think) I found in play, see here:
> https://groups.google.com/forum/#!topic/play-framework/8eyfIVKvW3o
>
> To me that seems to be a bug, but in mean time I am trying to force that
> actor to restart. I tried sending it a stop command and asking for new
> ActorRef but same result. Is there any way I can work around this issue? Or
> maybe its not an issue and I am doing something wrong?
>
> Thanks,
> Chanan.
>
> --
> >>>>>>>>>> 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 http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Heiko Seeberger
Twitter: @hseeberger
Blog: blog.heikoseeberger.name

-- 
>>>>>>>>>>      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 http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to