Skip to content

Messages

A message is the data unit that moves through FlowMQ.

In the core model, a message contains an application payload and optional headers. When a producer publishes the message, it is associated with a topic that FlowMQ uses as the routing address.

Structure

FieldDescription
PayloadApplication data, such as JSON, text, Protobuf, or binary data
HeadersOptional key-value metadata attached to the message

FlowMQ does not require a specific payload format. The producer and consumer decide how to encode and decode the payload.

Headers

Headers are optional metadata for applications and middleware. Common uses include content type, schema identifiers, tracing context, tenant identifiers, or other attributes that consumers need to interpret or process the payload.