Property DeliverSubject
DeliverSubject
The subject the server delivers messages to. Required: consumer creation throws NatsJSException when it's not set. Callers typically pass an inbox generated with NewBaseInbox().
public string? DeliverSubject { get; init; }
Property Value
Remarks
Do not pass NewInbox(). It returns a subject underneath the
connection's request-reply inbox prefix, which the reply multiplexer is already
subscribed to, so no messages reach the consumer and nothing is logged. This differs
from the Go client, where nc.NewInbox() is a valid deliver subject; the .NET
equivalent of that call is NewBaseInbox().