ltsecurityinc安防产品在线商城代码
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "magento/module-test-module-message-queue-config-override",
|
||||
"description": "test module for message queue configuration",
|
||||
"require": {
|
||||
"php": "~7.4.0||~8.0.0",
|
||||
"magento/framework": "*",
|
||||
"magento/module-integration": "*"
|
||||
},
|
||||
"type": "magento2-module",
|
||||
"extra": {
|
||||
"map": [
|
||||
[
|
||||
"*",
|
||||
"Magento/TestModuleMessageQueueConfigOverride"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<?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:Module/etc/module.xsd">
|
||||
<module name="Magento_TestModuleMessageQueueConfigOverride" />
|
||||
</config>
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
<?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" connection="amqp">
|
||||
<arguments>
|
||||
<argument name="alternate-exchange" xsi:type="string">magento-log-exchange</argument>
|
||||
</arguments>
|
||||
</exchange>
|
||||
|
||||
<exchange name="magento-topic-based-exchange2" type="topic" connection="amqp">
|
||||
<arguments>
|
||||
<argument name="alternate-exchange" xsi:type="string">magento-log-exchange</argument>
|
||||
</arguments>
|
||||
<binding id="topicBasedRouting2">
|
||||
<arguments>
|
||||
<argument name="argument2" xsi:type="boolean">true</argument>
|
||||
<argument name="argument3" xsi:type="number">150</argument>
|
||||
</arguments>
|
||||
</binding>
|
||||
</exchange>
|
||||
</config>
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
use Magento\Framework\Component\ComponentRegistrar;
|
||||
|
||||
$registrar = new ComponentRegistrar();
|
||||
if ($registrar->getPath(ComponentRegistrar::MODULE, 'Magento_TestModuleMessageQueueConfigOverride') === null) {
|
||||
ComponentRegistrar::register(
|
||||
ComponentRegistrar::MODULE,
|
||||
'Magento_TestModuleMessageQueueConfigOverride',
|
||||
__DIR__
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user