videlalvaro/RabbitMqBundle — Issue #11: hardcoded values in exchange_declare call
Author: eng1neer
Created: 2011-11-09 13:36:55+00:00
State: open

Hi,

RabbitMq/Producer.php, line 12:
$this->ch->exchange_declare($this->exchangeOptions['name'], $this->exchangeOptions['type'], false, true, false);

Why are you using hardcoded values here? I have completely equal declaration of producer and consumer (with auto_delete set to true, and durable to false) and the code above tries to redeclare (with no success of course) the queue with other options just because it ignores my settings

Is it a bug or am I missing something?

Thanks