Sebastiaan,

To my knowledge PoisonPill will be "phased out", see also Martynas' response: 
"...was not reintroduced in the new akka-typed module".

Heiko

--

Heiko Seeberger
Home: heikoseeberger.de <http://heikoseeberger.de/>
Twitter: @hseeberger <https://twitter.com/hseeberger>
Public key: keybase.io/hseeberger <https://keybase.io/hseeberger>
> On 05 Feb 2015, at 11:46, Sebastiaan Samyn <sebastiaan.sa...@gmail.com> wrote:
> 
> I did get the graceful shutdown part at the time, but I thought that you 
> explicitly said something about PoisonPill being phased out altogether. 
> Anyway, it might be my memory playing tricks on me ;).
> 
> Thanks for the response! 
> Sebastiaan Samyn
> 
> On Thursday, January 22, 2015 at 7:53:16 AM UTC+1, Heiko Seeberger wrote:
> Hi Sebastiaan,
> 
> As Martinas pointed out (and I tried to tell in London) you should define 
> some "ShutMeDownGracefully" (replace this exemplary name with one matching 
> the context) message for each actor which needs graceful shutdown and 
> implement the specific behavior which might vary (not every actor needs to 
> process its current mailbox, other shutdown-algorithms are possible) 
> depending on the specific purposes of the actor.
> 
> Heiko
> 
> --
> 
> Heiko Seeberger
> Home: heikoseeberger.de <http://heikoseeberger.de/>
> Twitter: @hseeberger <https://twitter.com/hseeberger>
> Public key: keybase.io/hseeberger <https://keybase.io/hseeberger>
>> On 21 Jan 2015, at 19:41, Martynas Mickevičius <martynas.m...@typesafe.com 
>> <javascript:>> wrote:
>> 
>> Hi Sebastiaan,
>> 
>> there is nothing special in PoisonPill in the sense that you can always 
>> implement one of your own.
>> 
>> Currently there is no way for an actor to choose not to swallow a 
>> PoisonPill. This is why it was not reintroduced in the new akka-typed 
>> module. This is probably what Heiko was hinting at.
>> 
>> On Mon, Jan 19, 2015 at 3:23 PM, Sebastiaan Samyn <sebastia...@gmail.com 
>> <javascript:>> wrote:
>> Hi,
>> 
>> Earlier this year I took the advanced akka course in London and there I was 
>> told by Heiko Seeberger that the PoisonPill message would soon become 
>> deprecated.
>> 
>> Since I haven't seen any news on this, I was wondering if this statement 
>> still stands.
>> 
>> Will PoisonPill become deprecated? Was this really ever an idea that you 
>> guys played with or can I continue to use it without worrying about 
>> compatibility issues with future akka versions?
>> 
>> Regards,
>> Sebastiaan Samyn
>> 
>> -- 
>> >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/>
>> >>>>>>>>>> Check the FAQ: 
>> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html 
>> >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html>
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user 
>> >>>>>>>>>> <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 akka-user+...@googlegroups.com <javascript:>.
>> To post to this group, send email to akka...@googlegroups.com <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user 
>> <http://groups.google.com/group/akka-user>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
>> 
>> 
>> 
>> -- 
>> Martynas Mickevičius
>> Typesafe <http://typesafe.com/> – Reactive 
>> <http://www.reactivemanifesto.org/> Apps on the JVM
>> 
>> -- 
>> >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/>
>> >>>>>>>>>> Check the FAQ: 
>> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html 
>> >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html>
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user 
>> >>>>>>>>>> <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 akka-user+...@googlegroups.com <javascript:>.
>> To post to this group, send email to akka...@googlegroups.com <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user 
>> <http://groups.google.com/group/akka-user>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/>
> >>>>>>>>>> Check the FAQ: 
> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html 
> >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html>
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user 
> >>>>>>>>>> <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 akka-user+unsubscr...@googlegroups.com 
> <mailto:akka-user+unsubscr...@googlegroups.com>.
> To post to this group, send email to akka-user@googlegroups.com 
> <mailto:akka-user@googlegroups.com>.
> Visit this group at http://groups.google.com/group/akka-user 
> <http://groups.google.com/group/akka-user>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
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