-
Notifications
You must be signed in to change notification settings - Fork 465
Closed
Description
Hello!
Please, add important configuration option for consumer no_ack
. If set to true
, automatic acknowledgement mode will be used by consumer. The default value is false
.
We really need this option on our large project at the moment, but no_ack
value is hardcoded to false
in method setupConsumer()
of classes:
OldSound\RabbitMqBundle\RabbitMq\BaseConsumer
,OldSound\RabbitMqBundle\RabbitMq\BatchConsumer
,OldSound\RabbitMqBundle\RabbitMq\MultipleConsumer
.
E.g. https://github.com/php-amqplib/RabbitMqBundle/blob/master/RabbitMq/BaseConsumer.php#L71
$this->getChannel()->basic_consume($this->queueOptions['name'], $this->getConsumerTag(), false, false, false, false, [$this, 'processMessage']);
topotru
Metadata
Metadata
Assignees
Labels
No labels