[rabbitmq-discuss] Is there possible use short connection in RabbitMQ?
mklishin at gopivotal.com
Fri Jul 18 09:41:18 BST 2014
On 18 July 2014 at 09:41:26, Lost (w_pg at qq.com) wrote:
> > I want use short connection in requester with rabbitmq, is it
> every request i need build a connection and creating a callback
> RPC request finished, i need delete callback queue and disconnect.
> Is it ok or maybe inefficient?
It will be less efficient that not reconnecting every time but will work
otherwise. You can use exclusive queues for replies, those will be deleted
automatically when the connection they were created on is closed/lost.
Staff Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss