Re: Is there possible use short connection in RabbitMQ?
On 18 July 2014 at 09:41:26, Lost ([hidden email]) 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.