On Tuesday, April 22, 2014 12:00:12 PM UTC-4, Heiko Seeberger wrote: > > On Tue, Apr 22, 2014 at 5:32 PM, Chanan Braunstein < > [email protected] <javascript:>> wrote: > > I am stopping it with Akka.system().stop(actorRef); >> > > Then you are stopping it. This won't restart the actor. >
Right. After which I try to re-get the actor ref, but that doesnt work: Akka.system().stop(signalJActor); signalJActor = null; signalJActor = Akka.system().actorOf(Props.create(SignalJActor.class), "signalJ"); > >> I cannot use a supervisor here since it is right /user - if i were to add >> a supervisor above my already existing supervisor I would just have the >> same problem with the new actor. >> > > Really? Well, you could configure the supervisor strategy of the user > guardian with akka.actor.guardian-supervisor-strategy. > The problem with that is that Restart really isn't what I want to happen in all cases. (Could be, haven't thought about it though). The real issue seems to be a bug in Play (I think it is at least) I am just trying to work around it and force a restart in this one case. I suppose I can send it a message cause a particular type of exception and do a restart for that one particular case. I will try that. > > Heiko > > >> -- >> >>>>>>>>>> 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> 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.
