videlalvaro/RabbitMqBundle — pull request #185 by joelwurtz (2014-06-16 12:40:14+00:00)
Title: Set rpc client connexion to be lazy

Actually, each time a rpc client service with rabbitmq is construct, a connexion to RabbitMqServer is launched as the extension add a method call to initClient in the container.

Sometimes the rpc client is loaded but not used (for our case we use it in the security context but if user is anonymous we never make a call to rpc)

This is a BC for people using this class with the queuename member as it's no longer protected (user should use getQueueName function instead of the queuename variable)