Skip to content
Snippets Groups Projects
Commit 495e522a authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Update README

parent 56b40b3b
No related branches found
No related tags found
1 merge request!18Redesign RabbitMQ
......@@ -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()
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment