using Akka.Actor;
using System;
namespace MyAkkaProject
class Program
static void Main(string[] args)
// Create an actor system
var system = ActorSystem.Create("MySystem");
// Create an actor
var greeter = system.ActorOf(Props.Create(() => new GreeterActor()), "greeter");
// Send a message to the actor
greeter.Tell("Hello");
Console.ReadLine();
system.Stop(greeter);
public class GreeterActor : ReceiveActor
public GreeterActor()
Receive<string>(message => Console.WriteLine($"Received message: message"));
Navigate to Your Project:
Add the following dependency to your pom.xml: akka tho dengulata pdf download install
<dependency>
<groupId>com.typesafe.akka</groupId>
<artifactId>akka-actor-typed_2.13</artifactId>
<version>2.6.19</version>
</dependency>