This completes the overview of actors. We saw the lifecycle of the actor, how to create actors, how to pass and process messages, and how to stop or kill the actor. In addition, we saw the HotSwap feature of Actors, which allows us to swap the message loop of the actor at runtime and replace with another procedure.

In the next chapter, we will cover typed actors, which are a special case of actors. Typed actors are especially useful when you have an existing POJO-based application, which you want to migrate to the Akka world.

Get Akka Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.