Permalink
Browse files

Merge pull request #33 from peetersdiet/fix-producer-durable

Fix exception NOT_FOUND when initializing durable exchange in producer
  • Loading branch information...
2 parents f2a802c + 3ad94a7 commit 7d883c348e58c2ef369ed1ca34246f310a547777 @videlalvaro videlalvaro committed Mar 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 RabbitMq/Producer.php
@@ -36,6 +36,7 @@ public function exchangeDeclare()
$this->ch->exchange_declare(
$this->exchangeOptions['name'],
$this->exchangeOptions['type'],
+ $this->exchangeOptions['passive'],
$this->exchangeOptions['durable'],
$this->exchangeOptions['auto_delete'],
$this->exchangeOptions['internal']);

0 comments on commit 7d883c3

Please sign in to comment.