O'Reilly logo

Akka Essentials by Munish K. Gupta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

This completes the overview of typed actors. We saw the lifecycle of the actor, how to create actors, how to pass and process messages, how to stop or kill the actors. We also saw how typed actors can be extended for additional hooks—preStart, postStop, Receiver, and Supervisor, which allow extending their functionality and becoming a bridge between the Actor Model and the object-oriented application.

In the next chapter, we shall cover the dispatchers and routers. Dispatchers are the heart of the Akka application and this is what makes it humming. Routers on the other hand, route incoming messages to the outbound actors.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required