Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 1e34e4d6e8
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (18 sloc) 0.517 kB
package org.cakesolutions.akkapatterns.core
import{Props, ActorSystem}
import application.ApplicationActor
import akka.pattern.ask
import akka.util.Timeout
import akka.dispatch.Await
case class Start()
case class Started()
case class Stop()
trait Core {
implicit def actorSystem: ActorSystem
implicit val timeout = Timeout(30000)
val application = actorSystem.actorOf(
props = Props[ApplicationActor],
name = "application"
Await.ready(application ? Start(), timeout.duration)
Jump to Line
Something went wrong with that request. Please try again.