August 2015
Intermediate to advanced
368 pages
14h 31m
English
In Chapter 4, “Messaging with Actors,” you were introduced to Message Endpoints (145) as actors in the Actor model. In this chapter, you will see the diverse kinds of endpoints.
• Messaging Gateway: An Akka actor system and its actors form a natural Messaging Gateway (338). The code required to interact with the messaging system, where one actor sends a message to another, is simple.
• Messaging Mapper: Use a Messaging Mapper (344) to map parts of one or more domain objects to a message.
• Transactional Client/Actor: This pattern, as used with Akka actors, is about transactions both for client/sender actors and for receiver actors.
• Polling Consumer: Polling involves a consumer that requests information from a given ...