init
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
/**
|
||||
* 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/queue.xsd">
|
||||
<broker topic="demo.exception" type="db" exchange="magento">
|
||||
<queue consumer="demoConsumerWithException" name="queue-exception" handler="Magento\TestModuleMysqlMq\Model\Processor::processMessageWithException"/>
|
||||
</broker>
|
||||
<broker topic="demo.connection.exception" type="db" exchange="magento">
|
||||
<queue consumer="demoConsumerWithConnectionException" name="queue-connection-exception" handler="Magento\TestModuleMysqlMq\Model\Processor::processMessageWithConnectionException"/>
|
||||
</broker>
|
||||
<broker topic="test.schema.defined.by.method" type="db" exchange="magento">
|
||||
<queue consumer="delayedOperationConsumer" name="demo-queue-6" handler="Magento\TestModuleMysqlMq\Model\DataObjectRepository::delayedOperation"/>
|
||||
</broker>
|
||||
<broker topic="demo.object.created" type="db" exchange="magento">
|
||||
<queue consumer="demoConsumerQueueOne" name="queue-created" handler="\Magento\TestModuleMysqlMq\Model\Processor::processObjectCreated"/>
|
||||
</broker>
|
||||
<broker topic="demo.object.updated" exchange="magento" type="db">
|
||||
<queue consumer="demoConsumerQueueTwo" name="queue-updated" handler="\Magento\TestModuleMysqlMq\Model\Processor::processObjectUpdated"/>
|
||||
</broker>
|
||||
<broker topic="demo.object.custom.created" exchange="magento" type="db">
|
||||
<queue consumer="demoConsumerQueueThree" name="queue-custom-created" handler="\Magento\TestModuleMysqlMq\Model\Processor::processCustomObjectCreated"/>
|
||||
</broker>
|
||||
</config>
|
||||
Reference in New Issue
Block a user