Skip to content

Commit 9d48eed

Browse files
theravelnicolas-grekas
authored andcommitted
Queue name is a required parameter
1 parent a609375 commit 9d48eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Messenger/Transport/AmqpExt/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ public function get(string $queueName): ?\AMQPEnvelope
326326
// If we get a 404 for the queue, it means we need to set up the exchange & queue.
327327
$this->setupExchangeAndQueues();
328328

329-
return $this->get();
329+
return $this->get($queueName);
330330
}
331331

332332
throw $e;

0 commit comments

Comments
 (0)