OptionalheadersPossible headers that may have been set by the server or the publisher.
OptionalreplyA possible subject where the recipient may publish a reply (in the cases where the message represents a request).
The subscription ID where the message was dispatched.
The subject the message was sent to
Convenience method to parse the message payload as JSON. This method will throw an exception if there's a parsing error;
Optionalreviver: ReviverFna reviver function
Convenience to publish a response to the reply subject in the
message - this is the same as doing nc.publish(msg.reply, ...).
Optionalpayload: PayloadOptionalopts: PublishOptionsOptionaldata: PayloadOptionalopts: PublishOptionsConvenience method to parse the message payload as string. This method may throw an exception if there's a conversion error
The message's data (or payload)