This is the behaviour that was expected.
Thank you Patrick !
Le mardi 13 février 2018 22:38:29 UTC+1, Patrik Nordwall a écrit :
>
> I think you can do that with Akka’s Coordinated Shutdown
> https://doc.akka.io/docs/akka/current/actors.html#coordinated-shutdown
>
> Register your task to one of t
I think you can do that with Akka’s Coordinated Shutdown
https://doc.akka.io/docs/akka/current/actors.html#coordinated-shutdown
Register your task to one of the phases, instead of using jvm shutdown
hook. Coordinated Shutdown will be triggered by jvm exit.
/Patrik
tis 13 feb. 2018 kl. 12:52 skrev
Hi,
I'm working on a part of my Akka application which must gracefully shutdown
when a shutdown hook has been detected.
The use case of my question is in case of deployment while the application
is making some tasks. In this specific case, we do want to delay the
deployment until my actors h