<?xml version="1.0"?> <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework-message-queue:etc/topology.xsd"> <exchange name="magento-topic-based-exchange1" type="topic" connection="amqp"> <binding id="topicBasedRouting1" topic="anotherTopic1" destinationType="queue" destination="topic-queue1"> <arguments> <argument name="argument1" xsi:type="string">value</argument> </arguments> </binding> </exchange> <exchange name="magento-topic-based-exchange2" connection="amqp"> <binding id="topicBasedRouting2" topic="anotherTopic2" destination="topic-queue2" destinationType="queue"> <arguments> <argument name="argument1" xsi:type="string">value</argument> </arguments> </binding> <arguments> <argument name="arrayValue" xsi:type="array"> <item name="element01" xsi:type="string">10</item> <item name="element02" xsi:type="string">20</item> </argument> </arguments> </exchange> <exchange name="magento-topic-based-exchange3" type="topic" connection="amqp" autoDelete="true" durable="false" internal="true" /> <exchange name="magento-topic-based-exchange4" type="topic" connection="amqp"> <binding id="wildcard1" destination="topic-queue1" destinationType="queue" topic="#"> <arguments> <argument name="test" xsi:type="string">one</argument> </arguments> </binding> <binding id="wildcard2" destination="topic-queue2" destinationType="queue" topic="*.*.*" /> </exchange> <exchange name="overlappingDeprecatedExchange" type="topic" connection="amqp"> <binding id="binding1" topic="overlapping.topic.declaration" destinationType="queue" destination="topology.config.queue" /> <binding id="binding2" topic="deprecated.config.async.string.topic" destinationType="queue" destination="topology.config.queue" /> </exchange> </config>