Tutorial by Examples

Add akka-actor dependency (SBT example) libraryDependencies += "com.typesafe.akka" % "akka-actor_2.11" % "2.4.8" Create actor classes: Actor for string output: class OutputActor extends Actor { override def receive: Receive = { case message => p...
Consider a communication happening between a Employee and its HR Department. Broadly these are explained in the following six steps when a message is passed to the actor: Employee creates something called an ActorSystem. It uses the ActorSystem to create something called as ActorRef. Th...
Add this dependency to your project POM: <dependency> <groupId>com.typesafe.akka</groupId> <artifactId>akka-actor_2.11</artifactId> <version>2.4.4</version> </dependency> Create an Actor public class HelloWorldActor ext...

Page 1 of 1