Groovy, Gpars, Parallelism, Concurrency, Java.
"Received message: $message" } } } } def echoActor = new EchoActor() echoActor.start() echoActor << 'Hello, World!' echoActor.stop() In this example, we create an EchoActor, which simply prints any message it receives. We then start the actor, send it a message, and finally stop it. Conclusion