mardi 6 octobre 2015

How to manage ref to top-level actor with Akka

How to manage properly a reference to a top-level actor.

I use that

object MyController extends Controller {
  lazy val supervisor = Akka.system.actorOf(Props[SupervisorActor])

But my test fails because the akka system is restarted between tests...

Aucun commentaire:

Enregistrer un commentaire