Reactive Messaging Patterns with the Actor Model: Applications and Integration in Scala and Akka
by Vaughn Vernon
Chapter 5. Messaging Channels
In the previous chapter, you looked at Message Channels (128) as a basic communications mechanism that supports actor-to-actor messaging. In this chapter, I will expand on the basic channel mechanism and explore several kinds of channels, each with a specific advantage when dealing with various application and integration challenges.
• Point-to-Point Channel: This is the “bread and butter” of the Actor model because it replaces the normal method invocations found in object-oriented systems. Actor communication forms a natural Point-to-Point Channel (151) because the actor sending the Message (130) must know the address of the receiving actor. This pattern will demonstrate message ordering and show why actors must ...
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