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 ...

Get Reactive Messaging Patterns with the Actor Model: Applications and Integration in Scala and Akka now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.