Reactive Messaging Patterns with the Actor Model: Applications and Integration in Scala and Akka
by Vaughn Vernon
Chapter 9. Message Endpoints
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access