File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,7 @@ protected function loadConsumers()
182
182
{
183
183
foreach ($ this ->config ['consumers ' ] as $ key => $ consumer ) {
184
184
$ definition = new Definition ('%old_sound_rabbit_mq.consumer.class% ' );
185
+ $ definition ->setPublic (true );
185
186
$ definition ->addTag ('old_sound_rabbit_mq.base_amqp ' );
186
187
$ definition ->addTag ('old_sound_rabbit_mq.consumer ' );
187
188
//this consumer doesn't define an exchange -> using AMQP Default
@@ -259,6 +260,7 @@ protected function loadMultipleConsumers()
259
260
}
260
261
261
262
$ definition = new Definition ('%old_sound_rabbit_mq.multi_consumer.class% ' );
263
+ $ definition ->setPublic (true );
262
264
$ definition
263
265
->addTag ('old_sound_rabbit_mq.base_amqp ' )
264
266
->addTag ('old_sound_rabbit_mq.multi_consumer ' )
You can’t perform that action at this time.
0 commit comments