diff --git a/src/fiunchinho/Silex/Provider/RabbitServiceProvider.php b/src/fiunchinho/Silex/Provider/RabbitServiceProvider.php index d71038a..966952b 100644 --- a/src/fiunchinho/Silex/Provider/RabbitServiceProvider.php +++ b/src/fiunchinho/Silex/Provider/RabbitServiceProvider.php @@ -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']);