@@ -20,11 +20,12 @@ The example will start a broker and some workers, then do some requests. The
20
20
output will be similar to this:
21
21
22
22
```
23
-
24
23
starting broker on tcp://127.0.0.1:5555
25
- starting worker on tcp://127.0.0.1:5555
26
- starting worker on tcp://127.0.0.1:5555
27
- starting worker on tcp://127.0.0.1:5555
24
+ starting broker on tcp://127.0.0.1:5555
25
+ starting worker soda on tcp://127.0.0.1:5555
26
+ starting worker tea on tcp://127.0.0.1:5555
27
+ starting worker coffee on tcp://127.0.0.1:5555
28
+ starting worker tea on tcp://127.0.0.1:5555
28
29
---------- Started -----------
29
30
requesting 'cola' from 'soda'
30
31
requesting 'oolong' from 'tea'
@@ -41,27 +42,30 @@ registered worker 00800041a9 for 'tea'
41
42
dispatching 'tea' 00800041ab req -> 00800041a7
42
43
dispatching 'tea' 00800041ac req -> 00800041a9
43
44
dispatching 'coffee' 00800041af req -> 00800041a8
44
- dispatching 'tea' 00800041ac <- rep 00800041a9
45
- dispatching 'tea' 00800041ad req -> 00800041a9
46
- received 'sencha' from 'tea'
47
- dispatching 'tea' 00800041ad <- rep 00800041a9
48
- dispatching 'tea' 00800041ae req -> 00800041a9
49
- received 'earl grey, with milk' from 'tea'
50
45
dispatching 'coffee' 00800041af <- rep 00800041a8
51
46
dispatching 'coffee' 00800041b0 req -> 00800041a8
52
47
received 'cappuccino' from 'coffee'
48
+ dispatching 'tea' 00800041ab <- rep 00800041a7
49
+ dispatching 'tea' 00800041ad req -> 00800041a7
50
+ received 'oolong' from 'tea'
53
51
dispatching 'coffee' 00800041b0 <- rep 00800041a8
54
52
dispatching 'coffee' 00800041b1 req -> 00800041a8
55
53
received 'latte, with soy milk' from 'coffee'
56
54
dispatching 'coffee' 00800041b1 <- rep 00800041a8
57
55
dispatching 'coffee' 00800041b2 req -> 00800041a8
58
56
received 'espresso' from 'coffee'
57
+ registered worker 00800041b3 for 'soda'
58
+ dispatching 'soda' 00800041aa req -> 00800041b3
59
+ dispatching 'soda' 00800041aa <- rep 00800041b3
60
+ received 'cola' from 'soda'
61
+ dispatching 'tea' 00800041ac <- rep 00800041a9
62
+ dispatching 'tea' 00800041ae req -> 00800041a9
63
+ received 'sencha' from 'tea'
59
64
dispatching 'tea' 00800041ae <- rep 00800041a9
60
65
received 'jasmine' from 'tea'
61
66
dispatching 'coffee' 00800041b2 <- rep 00800041a8
62
67
received 'irish coffee' from 'coffee'
63
- dispatching 'tea' 00800041ab <- rep 00800041a7
64
- received 'oolong' from 'tea'
65
- timeout expired waiting for 'soda'
68
+ dispatching 'tea' 00800041ad <- rep 00800041a7
69
+ received 'earl grey, with milk' from 'tea'
66
70
---------- Stopping -----------
67
71
```
0 commit comments