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()
182182 {
183183 foreach ($ this ->config ['consumers ' ] as $ key => $ consumer ) {
184184 $ definition = new Definition ('%old_sound_rabbit_mq.consumer.class% ' );
185+ $ definition ->setPublic (true );
185186 $ definition ->addTag ('old_sound_rabbit_mq.base_amqp ' );
186187 $ definition ->addTag ('old_sound_rabbit_mq.consumer ' );
187188 //this consumer doesn't define an exchange -> using AMQP Default
@@ -259,6 +260,7 @@ protected function loadMultipleConsumers()
259260 }
260261
261262 $ definition = new Definition ('%old_sound_rabbit_mq.multi_consumer.class% ' );
263+ $ definition ->setPublic (true );
262264 $ definition
263265 ->addTag ('old_sound_rabbit_mq.base_amqp ' )
264266 ->addTag ('old_sound_rabbit_mq.multi_consumer ' )
You can’t perform that action at this time.
0 commit comments