Represents a message with headers to transport additional information with a message.

Hierarchy

Properties

Properties

headers: Map<string, any>

Additional information attached to this message.

Header values must be JSON serializable. If no headers are set, the Map is empty.

retain?: boolean

Indicates whether this message is retained on the broker for late subscribers.

Generated using TypeDoc