Table of Contents

Property PublishTimeoutOnDisconnected

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

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; }

Property Value

bool