1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

updates based on RI changes to README

This commit is contained in:
Ginger Collison 2021-02-05 14:35:01 -06:00 committed by GitHub
parent 6875a3fab9
commit 501ecd83dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -184,11 +184,11 @@ Acknowledged message
You can prevent ACKs by supplying `--no-ack`. You can prevent ACKs by supplying `--no-ack`.
To do this from code you'd send a `Request()` to `$JS.NEXT.ORDERS.DISPATCH`: To do this from code you'd send a `Request()` to `$JS.API.CONSUMER.MSG.NEXT.ORDERS.DISPATCH`:
``` ```
$ nats req '$JS.NEXT.ORDERS.DISPATCH' '' $ nats req '$JS.API.CONSUMER.MSG.NEXT.ORDERS.DISPATCH' ''
Published [$JS.NEXT.ORDERS.DISPATCH] : '' Published [$JS.API.CONSUMER.MSG.NEXT.ORDERS.DISPATCH] : ''
Received [ORDERS.processed] : 'order 3' Received [ORDERS.processed] : 'order 3'
``` ```