Skip to Main Content
Reactive Messaging Patterns with the Actor Model: Applications and Integration in Scala and Akka
book

Reactive Messaging Patterns with the Actor Model: Applications and Integration in Scala and Akka

by Vaughn Vernon
August 2015
Intermediate to advanced content levelIntermediate to advanced
368 pages
14h 31m
English
Addison-Wesley Professional
Content preview from Reactive Messaging Patterns with the Actor Model: Applications and Integration in Scala and Akka

Chapter 7. Message Routing

In Chapter 4, “Messaging with Actors,” you were introduced to the basic idea of Message Routers (140) and why they should be used, both in your local actor system and beyond, for integration purposes. Routers allow you to decouple the message source from the message destination, and you can place business logic in any given Message Router (140) to determine how the routing should take place. There’s nothing inherently wrong with a Message Router (140) being responsible for the business logic, but depending on the type of router used, you can limit the amount of business logic needed.

Since routing can be used both within an Akka cluster and across clusters for integration, remember that routing to remote routees is ...

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.
Start your free trial

You might also like

Akka in Action

Akka in Action

Rob Williams, Raymond Roestenburg, Robertus Bakker
Functional Programming in Scala

Functional Programming in Scala

Runar Bjarnason, Paul Chiusano
Applied Akka Patterns

Applied Akka Patterns

Michael Nash, Wade Waldron

Publisher Resources

ISBN: 9780133846904Purchase book