Skip to content

Commit

Permalink
Add missing Consumer.setMaxDeliver/setMaxWaiting
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0NL authored Feb 27, 2024
1 parent 5dab15b commit cebf93b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Consumer/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,18 @@ public function setMaxAckPending(int $maxAckPending): self
return $this;
}

public function setMaxDeliver(int $maxDeliver): self
{
$this->maxDeliver = $maxDeliver;
return $this;
}

public function setMaxWaiting(int $maxWaiting): self
{
$this->maxWaiting = $maxWaiting;
return $this;
}

public function setName(string $name): self
{
if ($this->isEphemeral()) {
Expand Down

0 comments on commit cebf93b

Please sign in to comment.