Skip to content

Commit

Permalink
MCP-826: Use RabbitMQ for all consumers if AMQP is set in deployment …
Browse files Browse the repository at this point in the history
…config

- Remove topic type from exchange in topology because topic is a default value of exchange type;
  • Loading branch information
adifucan committed Jan 31, 2022
1 parent 5d7280d commit 067a0e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion InventoryCatalog/etc/queue_topology.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework-message-queue:etc/topology.xsd">
<exchange name="magento" type="topic">
<exchange name="magento">
<binding id="InventorySourceItemsCleanUpBinding" topic="inventory.source.items.cleanup" destination="inventory.source.items.cleanup"/>
<binding id="InventoryMassUpdateBinding" topic="inventory.mass.update" destination="inventory.mass.update"/>
</exchange>
Expand Down
2 changes: 1 addition & 1 deletion InventoryIndexer/etc/queue_topology.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework-message-queue:etc/topology.xsd">
<exchange name="magento" type="topic">
<exchange name="magento">
<binding id="InventorySourceItemIndexer" topic="inventory.indexer.sourceItem" destination="inventory.indexer.sourceItem"/>
<binding id="InventoryStockIndexer" topic="inventory.indexer.stock" destination="inventory.indexer.stock"/>
<binding id="InventoryReservationUpdateSalabilityStatus" topic="inventory.reservations.updateSalabilityStatus" destination="inventory.reservations.updateSalabilityStatus"/>
Expand Down
2 changes: 1 addition & 1 deletion InventorySales/etc/queue_topology.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework-message-queue:etc/topology.xsd">
<exchange name="magento" type="topic">
<exchange name="magento">
<binding id="InventoryReservationsUpdateBindingDb" topic="inventory.reservations.update" destination="inventory.reservations.update"/>
<binding id="InventoryReservationsDeleteBindingDb" topic="inventory.reservations.cleanup" destination="inventory.reservations.cleanup"/>
</exchange>
Expand Down

0 comments on commit 067a0e8

Please sign in to comment.