Skip to content

Commit 312bc7e

Browse files
authored
Update OldSoundRabbitMqExtension.php
1 parent 5c698cd commit 312bc7e

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
@@ -139,6 +139,7 @@ protected function loadProducers()
139139
if ($this->config['sandbox'] == false) {
140140
foreach ($this->config['producers'] as $key => $producer) {
141141
$definition = new Definition($producer['class']);
142+
$definition->setPublic(true);
142143
$definition->addTag('old_sound_rabbit_mq.base_amqp');
143144
$definition->addTag('old_sound_rabbit_mq.producer');
144145
//this producer doesn't define an exchange -> using AMQP Default

0 commit comments

Comments
 (0)