2014-01-16 34 views

回答

0

看看這個RPC example。您必須稍微修改它才能退出聆聽並開始發佈。

+1

在訂戶方法中使用channel.start_consuming()和channel.stop_consuming()解決了問題。 – sayan