Skip to content

Commit

Permalink
Queue args now passed as AMQPTable
Browse files Browse the repository at this point in the history
  • Loading branch information
richard.gooding committed Oct 29, 2015
1 parent cd61396 commit 38de233
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Provider/Amqp/AmqpQueueProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
use PhpAmqpLib\Connection\AMQPStreamConnection;
use PhpAmqpLib\Exception\AMQPTimeoutException;
use PhpAmqpLib\Message\AMQPMessage;
use PhpAmqpLib\Wire\AMQPTable;

class AmqpQueueProvider extends AbstractQueueProvider
implements IBatchQueueProvider
Expand Down Expand Up @@ -449,7 +450,7 @@ public function declareQueue()
(bool)$config->getItem('queue_exclusive', false),
(bool)$config->getItem('queue_autodelete', false),
(bool)$config->getItem('queue_nowait', false),
(array)$config->getItem('queue_args', null)
new AMQPTable((array)$config->getItem('queue_args', null))
);
return $this;
}
Expand Down

0 comments on commit 38de233

Please sign in to comment.