`

rabbitmq-queueDeclareNoWait

 
阅读更多

hannel.queueDeclareNoWait(queue_name, false, true, true, null);

声明队列,但是无序broker返回任何消息。

 

同时exchange声明时,也可以使用no-wait:

channel.queueDeclareNoWait(q, false, true, true, null);

 

绑定时也可以no-wait:

channel.queueBindNoWait(q, "amq.fanout", "", null);

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics