Retained Property
Whether or not this message's Retain flag is set.
Data Type
BooleanDefault Value
falseRemarks
If true, the message's Retain flag will be set.
Publishing a message with the Retain flag set will cause it to be retained by the server, which means the server will automatically deliver that message to any new subscribers to the topic.
This property is not available in the Sender.