Property PublishTimeoutOnDisconnected
PublishTimeoutOnDisconnected
Gets or sets a value indicating whether publish would throw an exception
when the connection is disconnected and the CommandTimeout is reached.
The default is false, meaning publish will not throw on disconnected state
and will wait to publish the message until reconnected.
public bool PublishTimeoutOnDisconnected { get; init; }