Skip to content

Commit 20ad77f

Browse files
committed
MCP-826: Use RabbitMQ for all consumers if AMQP is set in deployment config
- Fix failed integration tests;
1 parent 41f76e7 commit 20ad77f

File tree

1 file changed

+2
-3
lines changed
  • lib/internal/Magento/Framework/MessageQueue/Publisher/Config/RemoteService

1 file changed

+2
-3
lines changed

lib/internal/Magento/Framework/MessageQueue/Publisher/Config/RemoteService/Reader.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,9 @@ public function __construct(
6565
public function read($scope = null)
6666
{
6767
$result = [];
68-
$connectionName = $this->defaultValueProvider->getConnection();
6968
$connections = [
70-
$connectionName => [
71-
'name' => $connectionName,
69+
'amqp' => [
70+
'name' => 'amqp',
7271
'exchange' => $this->defaultValueProvider->getExchange(),
7372
'disabled' => false,
7473
]

0 commit comments

Comments
 (0)