Skip to content

Conversation

@joelwurtz
Copy link
Contributor

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 break 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)

@bastnic
Copy link
Contributor

bastnic commented Jun 16, 2014

Yeah!

videlalvaro added a commit that referenced this pull request Jun 20, 2014
Set rpc client connexion to be lazy
@videlalvaro videlalvaro merged commit b23ffbb into php-amqplib:master Jun 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants