Skip to content

Commit 54efcf4

Browse files
ozahoruliaskafandri
authored andcommitted
Fixed batch consumers service generation for symfony>=3.4 (#542)
1 parent 4bd0ec1 commit 54efcf4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DependencyInjection/OldSoundRabbitMqExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,7 @@ protected function loadBatchConsumers()
387387
{
388388
foreach ($this->config['batch_consumers'] as $key => $consumer) {
389389
$definition = new Definition('%old_sound_rabbit_mq.batch_consumer.class%');
390+
$definition->setPublic(true);
390391

391392
if (!isset($consumer['exchange_options'])) {
392393
$consumer['exchange_options'] = $this->getDefaultExchangeOptions();

0 commit comments

Comments
 (0)