Messages

A message is a packet of information sent from producers to consumers. Messages are the central units of information that clients exchange over Solace event brokers and uses the Solace Message Format (SMF) protocol for client and event broker communications. SMF uses a proprietary binary message format that provides an efficient method of encapsulating messages for transmission over the platform. For information on message parts, see What Is Messaging?

Messages exchanged between Solace Messaging API have formats that are compatible across all Solace Messaging API. In other words, messages produced by one Solace Messaging API can be understood by any other consuming Solace Messaging API. For other protocols, compatibility depends on the payload. For more information, see Protocol Metadata and Payload Encoding Interactions.

In the Solace JavaScript API and Solace Node.js API, a message is represented as solace.Message.