Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
valid_expected_queue.php
Go to the documentation of this file.
1 <?php
7 return [
8  "publishers" => [
9  "amqp-magento" => [
10  "name" => "amqp-magento",
11  "connection" => "amqp",
12  "exchange" => "magento"
13  ],
14  'demo-publisher-1' => [
15  'name' => 'demo-publisher-1',
16  'connection' => 'amqp',
17  "exchange" => "magento"
18  ],
19  "test-publisher-5" => [
20  "name" => "test-publisher-5",
21  "connection" => "amqp",
22  "exchange" => "test-exchange-10"
23  ]
24  ],
25  "topics" => [
26  "topic.broker.test" => [
27  "name" => "topic.broker.test",
28  "schema" => [
29  "schema_type" => "object",
30  "schema_value" => "string"
31  ],
32  "response_schema" => [
33  "schema_type" => "object",
34  "schema_value" => "string"
35  ],
36  "publisher" => "amqp-magento",
37  'is_synchronous' => true,
38  ],
39  "publisher5.topic" => [
40  "name" => "publisher5.topic",
41  "schema" => [
42  "schema_type" => "object",
43  "schema_value" => '\\' . \Magento\MysqlMq\Model\DataObject::class
44  ],
45  "response_schema" => [
46  "schema_type" => "object",
47  "schema_value" => \Magento\Customer\Api\Data\CustomerInterface::class
48  ],
49  "publisher" => "test-publisher-5"
50  ]
51  ],
52  "consumers" => [
53  "topicBrokerConsumer" => [
54  "name" => "topicBrokerConsumer",
55  "queue" => "demo-queue-1",
56  "connection" => "amqp",
57  "consumer_type" => "sync",
58  "handlers" => [
59  "topic.broker.test" => [
60  "0" => [
61  "type" => \Magento\MysqlMq\Model\Processor::class,
62  "method" => "processMessage"
63  ]
64  ]
65  ],
66  "max_messages" => null,
67  "instance_type" => \Magento\Framework\MessageQueue\ConsumerInterface::class
68  ]
69  ],
70  "binds" => [
71  "topic.broker.test--magento--demo-queue-1" => [
72  "queue" => "demo-queue-1",
73  "exchange" => "magento",
74  "topic" => "topic.broker.test"
75  ],
76  "publisher5.topic--test-exchange-10--demo-queue-1" => [
77  "queue" => "demo-queue-1",
78  "exchange" => "test-exchange-10",
79  "topic" => "publisher5.topic"
80  ]
81  ],
82  "exchange_topic_to_queues_map" => [
83  "magento--topic.broker.test" => [
84  "demo-queue-1"
85  ],
86  "test-exchange-10--publisher5.topic" => [
87  "demo-queue-1"
88  ]
89  ]
90 ];