 ! Pong.PingCommand(&quot;Scala&quot;, context.self)
      context.log.info(&quot;Started Pong actor and send message complete.&quot;)
      Behaviors.same
    case (context, PongCommand(message)) =&gt;
      context.log.info(s&quot;Receive pong message: $message&quot;)
      Behaviors.stopped
  }
}

object Pong {
  sealed trait Command
  final case class PingCommand(message: String, replyTo: ActorRef[Ping.Command]) extends Command
  def apply(): Behavior[Command] = Behaviors.receive[Command] {
    case (co