Skip to content

Commit

Permalink
Merge pull request #11 from mathroc/fix/automatic-queue-creation
Browse files Browse the repository at this point in the history
fix: don't automatically create anonymous queue in exchange
  • Loading branch information
williamespindola authored Oct 3, 2017
2 parents a1ccf73 + 43b899d commit 82c696a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fiunchinho/Silex/Provider/RabbitServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private function loadProducers(Container $container)

//this producer doesn't define a queue
if (!isset($options['queue_options'])) {
$options['queue_options']['name'] = null;
$options['queue_options']['declare'] = false;
}
$producer->setQueueOptions($options['queue_options']);

Expand Down

0 comments on commit 82c696a

Please sign in to comment.