Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a31d857

Browse files
committed
Queue name is a required parameter
1 parent f825bf5 commit a31d857

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)