Use a Command Message to reliably invoke a procedure in another application.
Each reply message should contain a Correlation Identifier, a unique identifier that indicates which request message this reply is for.
Use a Document Message to reliably transfer a data structure between applications.
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.
Set the Message Expiration to specify a time limit how long the message is viable.
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.
The request message should contain a Return Address that indicates where to send the reply message.