1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00
Derek Collison 99da6d13d0 Updates
Signed-off-by: Derek Collison <derek@nats.io>
2019-06-06 15:42:25 -07:00

483 B

Including a Reply Subject

The optional reply-to field when publishing a message can be used on the receiving side to respond. The reply-to subject is often called an inbox, and most libraries may provide a method for generating unique inbox subjects. Most libraries also provide for the request-reply pattern with a single call. For example to send a request to the subject time, with no content for the messages, you might:

!INCLUDE "../../_examples/publish_with_reply.html"