August 2015
Intermediate to advanced
368 pages
14h 31m
English
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