sticky property

bool sticky
final

Sticky messages remain in memory and are delivered when a subscriber subscribes to the topic to which the sticky message was previously delivered. You can check if a message is recent or old by looking at the state of this flag.

Implementation

final bool sticky;