File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,17 @@ in our previous code. We could have avoided that if we always run the
262
262
program to run as first. In such case it's a good practice to repeat
263
263
declaring the queue in both programs.
264
264
265
+ > #### Listing queues
266
+ >
267
+ > Sometimes you may want to see what queues does RabbitMQ store and how many
268
+ > messages are in them. You can do it using the `rabbitmqctl` tool:
269
+ >
270
+ > $ sudo rabbitmqctl list_queues
271
+ > Listing queues ...
272
+ > test 0
273
+ > ... done .
274
+
275
+
265
276
266
277
Receiving messages from the queue is a bit more complex . Whenever we receive
267
278
a message , a ` callback ` function is called. In our case
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ digraph G {
17
17
18
18
19
19
In the first part of this tutorial we've learned how to send messages
20
- to and receive from a named queue. In this part we'll try to create a
20
+ to and receive from a named queue. In this part we'll create a
21
21
_Task Queue_ to distribute time-consuming work across multiple
22
22
workers.
23
23
You can’t perform that action at this time.
0 commit comments