Optional message.
Additional information attached to this message.
Header values must be JSON serializable. If no headers are set, the Map
is empty.
Contains the resolved values of the wildcard segments as specified in the topic.
For example: If subscribed to the topic person/:id
and a message is published to the topic person/5
,
the resolved id with the value 5
is contained in the params map.
Instructs the broker to store this message as retained message for the topic. With the retained flag set to true
,
a client receives this message immediately upon subscription. The broker stores only one retained message per topic.
The topic where to publish this message to.
Generated using TypeDoc
Represents a message published to a topic.
The message is transported to all consumers subscribed to the topic.