diff --git a/README.md b/README.md index eb8ce910a231ded44263113169838b4b3cac4d77..5d7b9155b49e6906eaa6451a4660fce3536a5c73 100644 --- a/README.md +++ b/README.md @@ -41,10 +41,10 @@ def callback_function(ch, method, properties, body): # start consume messagre from queue with callback function rc_rmq.start_consume({ 'queue': 'queue_name', + 'routing_key: 'your_key', 'cb': callback_function }) - # don't forget to close connection rc_rmq.disconnect() ```