Created
July 17, 2016 16:30
-
-
Save HDBandit/7191fcd0f6ca2ed454baf447d04bbc91 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object ApplicationMain extends App { | |
val system = ActorSystem("MyActorSystem") | |
val pongActor = system.actorOf(Pong.props, "pongActor") | |
pongActor ! PongMessage("Initial message") | |
// waiting for JMX "end" message to terminate | |
system.awaitTermination() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment