communication.xml 1.5 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Communication/etc/communication.xsd">
  9. <topic name="deprecated.config.async.bool.topic" request="bool">
  10. <handler name="handler1" type="Magento\TestModuleMessageQueueConfiguration\AsyncHandler" method="methodWithBoolParam"/>
  11. <handler name="handler2" type="Magento\TestModuleMessageQueueConfiguration\AsyncHandler" method="methodWithMixedParam"/>
  12. </topic>
  13. <topic name="deprecated.config.async.string.topic" request="string"/>
  14. <topic name="deprecated.config.sync.string.topic" request="string" response="string">
  15. <handler name="handler1" type="Magento\TestModuleMessageQueueConfiguration\SyncHandler" method="methodWithStringParam"/>
  16. </topic>
  17. <topic name="deprecated.config.sync.bool.topic" schema="Magento\TestModuleMessageQueueConfiguration\SyncHandler::methodWithBoolParam">
  18. <handler name="handler1" type="Magento\TestModuleMessageQueueConfiguration\SyncHandler" method="methodWithBoolParam"/>
  19. </topic>
  20. <topic name="overlapping.topic.declaration" request="string">
  21. <handler name="handler1" type="Magento\TestModuleMessageQueueConfiguration\AsyncHandler" method="methodWithStringParam"/>
  22. </topic>
  23. <topic name="anotherTopic1" request="string"/>
  24. <topic name="anotherTopic2" request="string"/>
  25. </config>