Skip to content

Commit d202675

Browse files
committed
Do not produce notice/warning when consuming from multiple transports and explicitly listed queues
These queues might not be present on each consumed transport.
1 parent 9f692c6 commit d202675

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ public function channel(): \AMQPChannel
510510
public function queue(string $queueName): \AMQPQueue
511511
{
512512
if (!isset($this->amqpQueues[$queueName])) {
513-
$queueConfig = $this->queuesOptions[$queueName];
513+
$queueConfig = $this->queuesOptions[$queueName] ?? [];
514514

515515
$amqpQueue = $this->amqpFactory->createQueue($this->channel());
516516
$amqpQueue->setName($queueName);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy