Table of Contents

Property AllowMsgTTL

Namespace
NATS.Client.JetStream.Models
Assembly
NATS.Client.JetStream.dll

AllowMsgTTL

AllowMsgTTL allows header initiated per-message TTLs. If disabled, then the NATS-TTL header will be ignored.

[JsonPropertyName("allow_msg_ttl")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool AllowMsgTTL { get; set; }

Property Value

bool

Remarks

This feature is only available on NATS server v2.11 and later.