I wouldn't necessary call this behavior an error, because actors can go
away any time, e.g. because a remote node crashes or the network becomes
unavailable. Therefore a sender never knows whether a message has been
received and successfully processed, unless the receiver sends an ACK which
has been received and successfully processed by the original sender.

Anyway, if you need to impose a certain shutdown order, there are ways to
do that. Maybe this piece of information helps:
http://letitcrash.com/post/29773618510/an-akka-2-terminator

Heiko


On Tue, Apr 1, 2014 at 6:14 AM, Boney Sekh <[email protected]> wrote:

> Hi
>
> I'd like to know how we can control the order of stopping actor threads
> during a shutdown say using the kill signal.
>
> Basically the background is that when my app is shutdown, we see errors
> saying that the actors to which messages are to be sent next is down.
>
> We want to prevent such errors by ensuring the order of shutdown is from
> the start of the flow to the end while finishing up any message processing
> already in play.
>
> Is there a shutdown hook or something like that?
>
>
> Thanks
>
> --
> >>>>>>>>>>      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