Messaging Patterns

Command Message

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

Correlation Identifier

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

Document Message

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

Event Message

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


Package the information into a Message, a data record that the messaging system can transmit through a message channel. message has two parts: a header and a body. The header holds information about the data being transmitted, its origin, and its destination. The body holds the actual data.

Message Expiration

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

Message Sequence

Whenever a large set of data may need to be broken into message-size chunks, send the data as a Message Sequence and mark each message with sequence identification fields.


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

Return Address

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