File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -387,7 +387,6 @@ protected function loadBatchConsumers()
387
387
{
388
388
foreach ($ this ->config ['batch_consumers ' ] as $ key => $ consumer ) {
389
389
$ definition = new Definition ('%old_sound_rabbit_mq.batch_consumer.class% ' );
390
- $ definition ->setPublic (true );
391
390
392
391
if (!isset ($ consumer ['exchange_options ' ])) {
393
392
$ consumer ['exchange_options ' ] = $ this ->getDefaultExchangeOptions ();
@@ -441,8 +440,7 @@ protected function loadBatchConsumers()
441
440
protected function loadAnonConsumers ()
442
441
{
443
442
foreach ($ this ->config ['anon_consumers ' ] as $ key => $ anon ) {
444
- $ definition = new Definition ('%old_sound_rabbit_mq.anon_consumer.class% ' );
445
- $ definition ->setPublic (true );
443
+ $ definition = new Definition ('%old_sound_rabbit_mq.anon_consumer.class% ' );
446
444
$ definition
447
445
->setPublic (true )
448
446
->addTag ('old_sound_rabbit_mq.base_amqp ' )
You can’t perform that action at this time.
0 commit comments