Skip to content

fix problem about rabbitmqBundle's rpc, when use symfony4 #515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 15, 2018

Conversation

reiwang01
Copy link
Contributor

@reiwang01 reiwang01 commented Jan 3, 2018

find the problem like below:

[vagrant@bogon s4]$ php bin/console  rabbitmq:rpc-server test_server -vvv
2018-01-03T08:00:17+00:00 [error] Error thrown while running command "rabbitmq:rpc-server test_server -vvv". Message: "The "old_sound_rabbit_mq.test_server_server" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead."
2018-01-03T08:00:17+00:00 [debug] Command "rabbitmq:rpc-server test_server -vvv" exited with code "1"

In Container.php line 252:

  [Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
  The "old_sound_rabbit_mq.test_server_server" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection
   instead.

[vagrant@bogon s4]$ php bin/console  rabbitmq:rpc-server test_server -vvv
2018-01-03T08:00:17+00:00 [error] Error thrown while running command "rabbitmq:rpc-server test_server -vvv". Message: "The "old_sound_rabbit_mq.test_server_server" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead."
2018-01-03T08:00:17+00:00 [debug] Command "rabbitmq:rpc-server test_server -vvv" exited with code "1"

In Container.php line 252:

  [Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]
  The "old_sound_rabbit_mq.test_server_server" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection
   instead.
@stloyd stloyd merged commit 934fe5f into php-amqplib:master Jan 15, 2018
@stloyd
Copy link
Collaborator

stloyd commented Jan 15, 2018

Thanks @reywang01 !

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.

2 participants