From 5b50e58f9ef9286c78b18906a0a2db2e854daaab Mon Sep 17 00:00:00 2001 From: Christoph Stahl Date: Mon, 17 Apr 2023 10:19:31 +0200 Subject: [PATCH] Aufgabe 2.2 --- src/main/java/com/example/GreeterMain.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/example/GreeterMain.java b/src/main/java/com/example/GreeterMain.java index 1b645b7..ca1bf5f 100644 --- a/src/main/java/com/example/GreeterMain.java +++ b/src/main/java/com/example/GreeterMain.java @@ -35,7 +35,7 @@ public class GreeterMain extends AbstractBehavior { private Behavior onSayHello(SayHello command) { //#create-actors ActorRef replyTo = - getContext().spawn(GreeterBot.create(3), command.name); + getContext().spawn(GreeterBot.create(6), command.name); greeter.tell(new Greeter.Greet(command.name, replyTo)); //#create-actors return this;