Skip to content
Discussion options

You must be logged in to vote

You simply use the 'request' call on your NATS connection object, not part of the service module (which automatically creates an 'inbox' subject, subscribes to it and publishes the request message on the specified subject (i.e. what your service end point subscribes to) with that inbox subject in the 'reply' field of the message. The request call is synchronized and will block until the reply is received, or time out.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Kinrany
Comment options

@jnmoyne
Comment options

@Kinrany
Comment options

Answer selected by jnmoyne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants