File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
app/code/Magento/MysqlMq/Model/Driver
dev/tests/integration/testsuite/Magento/Framework/MessageQueue/_files Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -110,11 +110,13 @@ public function subscribe($callback)
110
110
while (true ) {
111
111
while ($ envelope = $ this ->dequeue ()) {
112
112
try {
113
+ // phpcs:ignore Magento2.Functions.DiscouragedFunction
113
114
call_user_func ($ callback , $ envelope );
114
115
} catch (\Exception $ e ) {
115
116
$ this ->reject ($ envelope );
116
117
}
117
118
}
119
+ // phpcs:ignore Magento2.Functions.DiscouragedFunction
118
120
sleep ($ this ->interval );
119
121
}
120
122
}
Original file line number Diff line number Diff line change 23
23
"name " => "publisher5.topic " ,
24
24
"schema " => [
25
25
"schema_type " => "object " ,
26
- "schema_value " => " Magento \\ TestModuleMysqlMq \\ Model \\ DataObject "
26
+ "schema_value " => Magento \TestModuleMysqlMq \Model \DataObject::class
27
27
],
28
28
"response_schema " => [
29
29
"schema_type " => "object " ,
30
- "schema_value " => " Magento \\ Customer \\ Api \\ Data \\ CustomerInterface "
30
+ "schema_value " => \ Magento \Customer \Api \Data \CustomerInterface::class
31
31
],
32
32
"publisher " => "test-publisher-5 "
33
33
]
You can’t perform that action at this time.
0 commit comments