From 88f90afc2c85aa12073af00998d96bbf2d29b4f4 Mon Sep 17 00:00:00 2001 From: Ernest Okot Date: Tue, 1 May 2018 19:30:49 +0300 Subject: [PATCH] docs: updated example readme --- examples/topic/README.md | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/examples/topic/README.md b/examples/topic/README.md index 76ed954..fc8186d 100644 --- a/examples/topic/README.md +++ b/examples/topic/README.md @@ -52,26 +52,21 @@ docker run -d --hostname rabbitmq -p 5672:5672 -p 8888:15672 --name rabbit rabbi - Your first tab should look like this ``` -$ ./consume.js "X" "Q1" "*.orange.*" -[*] Binding `Q1` to `*.orange.*` from `X` -[*] Waiting for `X`. To exit press CTRL+C -the quick orange rabbit quick.orange.rabbit -the lazy orange elephant lazy.orange.elephant -the quick orange rabbit quick.orange.rabbit -the quick orange fox quick.orange.fox +$ ./consume.js "X" "Q1" "*.orange.*" +quick.orange.rabbit the quick orange rabbit +lazy.orange.elephant the lazy orange elephant +quick.orange.rabbit the quick orange rabbit +quick.orange.fox the quick orange fox ``` - And the second... ``` -$ ./publish.js "X" "Q2" "*.*.rabbit" "lazy.#" -[*] Binding `Q2` to `*.*.rabbit` from `X` -[*] Binding `Q2` to `lazy.#` from `X` -[*] Waiting for `X`. To exit press CTRL+C -the quick orange rabbit quick.orange.rabbit -the lazy orange elephant lazy.orange.elephant -the quick orange rabbit quick.orange.rabbit -the lazy brown fox lazy.brown.fox -the lazy pink rabbit lazy.pink.rabbit -the lazy orange male rabbit lazy.orange.male.rabbit +$ ./publish.js "X" "Q2" "*.*.rabbit" "lazy.#" +quick.orange.rabbit the quick orange rabbit +lazy.orange.elephant the lazy orange elephant +quick.orange.rabbit the quick orange rabbit +lazy.brown.fox the lazy brown fox +lazy.pink.rabbit the lazy pink rabbit +lazy.orange.male.rabbit the lazy orange male rabbit ``` \ No newline at end of file