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 8. Message Transformation

In Chapter 4, “Messaging with Actors,” I discussed Message Translator (143) as a general topic. In this chapter, you will dig deeper into various kinds of transformations that messages may undergo in your applications and integrations.

Envelope Wrapper: In typical middleware messaging systems there is a message header with distinct, standardized properties. The Actor model, and Akka specifically, doesn’t support message headers. However, you may want to wrap some messages inside an envelope-type structure that might even mimic a message header. The Envelope Wrapper (314) may be called on to perform some specific application functionality, such as filling the role of Channel Adapter (183), or as a sort of

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