For more details and full analysis of each pattern described in this section, please refer to Chapter 6 of Reactive Messaging Patterns with the Actor Model by Vaughn Vernon.

Sections

  1. Introduction
  2. Messaging with Actors
  3. Messaging Channels
  4. Message Construction
  5. Message Routing
  6. Message Transformation
  7. Message Endpoints
  8. System Management and Infrastructure

Command Message

Use a Command Message to reliably invoke a procedure in another application.

Complete Code

Sections

Document Message

Use a Document Message to reliably transfer a data structure between applications.

Complete Code

Sections

Event Message

Use an Event Message for reliable, asynchronous event notification between applications.

Complete Code

Sections

Request-Reply

Send a pair of Request-Reply messages, each on its own channel.

Complete Code

Sections

Return Address

The request message should contain a Return Address that indicates where to send the reply message.

Complete Code

Sections

Correlation Identifier

Each reply message should contain a Correlation Identifier, a unique identifier that indicates which request message this reply is for.

Complete Code

Sections

Message Expiration

Set the Message Expiration to specify a time limit how long the message is viable.

Complete Code

Sections

Format Indicator

Design a data format that includes a Format Indicator, so that the message specifies what format it is using.

Complete Code

Sections