@@ -262,8 +262,8 @@ protected function loadMultipleConsumers()
262
262
}
263
263
264
264
$ definition = new Definition ('%old_sound_rabbit_mq.multi_consumer.class% ' );
265
- $ definition ->setPublic (true );
266
265
$ definition
266
+ ->setPublic (true )
267
267
->addTag ('old_sound_rabbit_mq.base_amqp ' )
268
268
->addTag ('old_sound_rabbit_mq.multi_consumer ' )
269
269
->addMethodCall ('setExchangeOptions ' , array ($ this ->normalizeArgumentKeys ($ consumer ['exchange_options ' ])))
@@ -337,6 +337,7 @@ protected function loadDynamicConsumers()
337
337
338
338
$ definition = new Definition ('%old_sound_rabbit_mq.dynamic_consumer.class% ' );
339
339
$ definition
340
+ ->setPublic (true )
340
341
->addTag ('old_sound_rabbit_mq.base_amqp ' )
341
342
->addTag ('old_sound_rabbit_mq.consumer ' )
342
343
->addTag ('old_sound_rabbit_mq.dynamic_consumer ' )
@@ -392,6 +393,7 @@ protected function loadBatchConsumers()
392
393
}
393
394
394
395
$ definition
396
+ ->setPublic (true )
395
397
->addTag ('old_sound_rabbit_mq.base_amqp ' )
396
398
->addTag ('old_sound_rabbit_mq.batch_consumer ' )
397
399
->addMethodCall ('setTimeoutWait ' , array ($ consumer ['timeout_wait ' ]))
@@ -440,6 +442,7 @@ protected function loadAnonConsumers()
440
442
foreach ($ this ->config ['anon_consumers ' ] as $ key => $ anon ) {
441
443
$ definition = new Definition ('%old_sound_rabbit_mq.anon_consumer.class% ' );
442
444
$ definition
445
+ ->setPublic (true )
443
446
->addTag ('old_sound_rabbit_mq.base_amqp ' )
444
447
->addTag ('old_sound_rabbit_mq.anon_consumer ' )
445
448
->addMethodCall ('setExchangeOptions ' , array ($ this ->normalizeArgumentKeys ($ anon ['exchange_options ' ])))
0 commit comments