diff --git a/src/NATS.Client.JetStream/NatsJSMsg.cs b/src/NATS.Client.JetStream/NatsJSMsg.cs index 9358f1228..e0d9aa255 100644 --- a/src/NATS.Client.JetStream/NatsJSMsg.cs +++ b/src/NATS.Client.JetStream/NatsJSMsg.cs @@ -65,6 +65,11 @@ public interface INatsJSMsg /// NatsJSMsgMetadata? Metadata { get; } + /// + /// The reply subject that subscribers can use to send a response back to the publisher/requester. + /// + public string? ReplyTo { get; } + /// /// Reply with an empty message. /// @@ -176,7 +181,10 @@ public NatsJSMsg(NatsMsg msg, NatsJSContext context) /// public NatsJSMsgMetadata? Metadata => _replyToDateTimeAndSeq.Value; - private string? ReplyTo => _msg.ReplyTo; + /// + /// The reply subject that subscribers can use to send a response back to the publisher/requester. + /// + public string? ReplyTo => _msg.ReplyTo; /// /// Reply with an empty message.