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
262262program to run as first. In such case it's a good practice to repeat
263263declaring the queue in both programs.
264264
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+ 
265276
266277Receiving  messages  from  the  queue  is  a  bit  more  complex . Whenever  we  receive 
267278a  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 {
1717
1818
1919In 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
2121_Task Queue_ to distribute time-consuming work across multiple
2222workers.
2323
                         You can’t perform that action at this time. 
           
                  
0 commit comments