Reactive Messaging Patterns With the Actor Model: Applications and Integration in Scala and Akka by Vaughn Vernon

Reactive Messaging Patterns With the Actor Model: Applications and Integration in Scala and Akka by Vaughn Vernon

Author:Vaughn Vernon [Vernon, Vaughn]
Language: eng
Format: epub
ISBN: 9780133846836
Amazon: 0133846830
Publisher: Addison-Wesley Professional
Published: 2015-08-16T22:00:00+00:00


Request-Reply

When a message is sent from one actor to another, it is considered a request. When the receiver of the request message needs to send a message back to the request sender, the message is a reply. As shown in Figure 6.4, a common usage pattern of Request-Reply has the requestor sending a Command Message (202) and the receiver replying with a Document Message (204). In such a case, and as described in Command Message (202), the command is probably a Query Message [IDDD].

Figure 6.4 A Requestor and a Reactor collaborate with each other using Request-Reply.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.