8000 bug #53944 [Messenger] Gracefully fallback to empty queue config (Wir… · symfony/symfony@f44d074 · GitHub
[go: up one dir, main page]

Skip to content

Commit f44d074

Browse files
bug #53944 [Messenger] Gracefully fallback to empty queue config (Wirone)
This PR was submitted for the 6.4 branch but it was merged into the 5.4 branch instead. Discussion ---------- [Messenger] Gracefully fallback to empty queue config | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fixes #53579 | License | MIT Do not produce notice/warning when consuming from multiple transports and explicitly listed queues. These queues might not be present on each consumed transport. Comm 8000 its ------- 9d67850 Do not produce notice/warning when consuming from multiple transports and explicitly listed queues
2 parents 0984e3b + 9d67850 commit f44d074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Messenger/Bridge/Amqp/Transport/Connection.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ static function () {
535535
public function queue(string $queueName): \AMQPQueue
536536
{
537537
if (!isset($this->amqpQueues[$queueName])) {
538-
$queueConfig = $this->queuesOptions[$queueName];
538+
$queueConfig = $this->queuesOptions[$queueName] ?? [];
539539

540540
$amqpQueue = $this->amqpFactory->createQueue($this->channel());
541541
$amqpQueue->setName($queueName);

0 commit comments

Comments
 (0)
0