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 and nekufa committed Mar 6, 2024
1 parent 2a8072a commit cb86625
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 cb86625

Please sign in to comment.