Akka actor FAQ: How do you stop an Akka actor?
I don't have time this morning to write my usual tutorial, so in short, if you want to stop an Akka actor, use code like this from inside your actor's receive method:
context.stop(self)
Or, if you want to shut down the Akka system, use the following code, again from inside the receive method of one of your actors: