Messaging is a method of comunication between software components or applications. Messaging is a peer-to-peer facility. Two components or applications send and receive messages. Messaging enables distributed communications that is loosely coupled - therefore asynchronous.
A recent project created a script of messages which were saved on a USB and then read by a medical instrument to configure or teste a device - the system used Protocal Buffer. One example of the many formats a message can take. The sender and receiveer must agree on the message format - sort of speak teh same language.