Skip to content

Commit 9d67850

Browse files
Wironenicolas-grekas
authored andcommitted
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 0984e3b commit 9d67850

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
@@ -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)
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