Property SessionExpiryInterval

Assembly: redb.Route.MqttNet.dll

MQTT 5 Session Expiry Interval in seconds (Apache Camel paho-mqtt5 sessionExpiryInterval): how long the
broker keeps the session after the connection closes. Default 0: the session ends with the connection, even with
false (MQTT 5, 3.1.2.11.2). A kept session needs cleanSession=false and a value
above 0; only then does the broker send an unacknowledged message again after a reconnect.

public int SessionExpiryInterval { get; set; }