The way you are asking indicates you haven't read how Akka works, you must learn at least the basic life-cycles, you know the old saying? RTMF?
On Wednesday, June 15, 2016 at 6:46:40 PM UTC+1, Yan Pei wrote: > > only if AKKA got shutdown the actors got killed right? But for each run, > do I have to recreate actor then kill then at the end of run? > > On Wednesday, June 15, 2016 at 12:00:57 PM UTC-5, Guido Medina wrote: >> >> Akka will do that in an orderly fashion >> >> On Wednesday, June 15, 2016 at 5:43:20 PM UTC+1, Yan Pei wrote: >>> >>> Thank you Guido. If I don't shutdown akka system, should I also not kill >>> the actors under the akka system? >>> >>> On Wednesday, June 15, 2016 at 9:42:44 AM UTC-5, Guido Medina wrote: >>>> >>>> Nope, if you are controlling your application via Spring, make akka >>>> system a singleton bean with destructor method = terminate. >>>> >>>> On Tuesday, June 14, 2016 at 5:29:29 PM UTC+1, Yan Pei wrote: >>>>> >>>>> Hello All, >>>>> >>>>> I've designed the application with AKKA + Spring Framework IOC + >>>>> Spring Scheduler. Currently I shutdown the AKKA system for each run and >>>>> recreate it in the next execution when the scheduler invokes. Is it the >>>>> correct approach? >>>>> >>>>> Thanks, >>>>> Yan >>>>> >>>>> >>>> -- >>>>>>>>>> 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.
