August 2015
Intermediate to advanced
368 pages
14h 31m
English
In Chapter 4, “Messaging with Actors,” I discussed messaging with actors, but I didn’t cover much about the kinds of messages that should be created and sent. Each message must convey the intent of the sender’s reason to communicate with the receiver. As Enterprise Integration Patterns [EIP] shows, there may be any number of motivations based on the following:
• Message intent: Why are you sending a message? Are you requesting another actor to perform an operation? If so, use a Command Message (202). Are you informing one or more other actors that you have performed some operation? In that case, use an Event Message (207). Have you been asked for some large body of information that you must convey to the requester ...