Commit 694e08b
wangrui
fix problem about rabbitmqBundle's rpc, when use symfony4
[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.1 parent 6c0407c commit 694e08b
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
511 | 512 | | |
512 | 513 | | |
513 | 514 | | |
| 515 | + | |
514 | 516 | | |
515 | 517 | | |
516 | 518 | | |
| |||
0 commit comments