communication.xml 1.7 KB

123456789101112131415161718192021222324252627
  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="synchronous.rpc.test.deprecated" request="string" response="string">
  10. <handler name="processRpcRequest" type="Magento\TestModuleSynchronousAmqp\Model\RpcRequestHandler" method="process"/>
  11. </topic>
  12. <topic name="synchronous.rpc.test" request="string" response="string">
  13. <handler name="processRpcRequest" type="Magento\TestModuleSynchronousAmqp\Model\RpcRequestHandler" method="process"/>
  14. </topic>
  15. <topic name="magento.testModuleSynchronousAmqp.api.serviceInterface.execute" schema="Magento\TestModuleSynchronousAmqp\Api\ServiceInterface::execute">
  16. <handler name="processRemoteRequest" type="Magento\TestModuleSynchronousAmqp\Model\RpcRequestHandler" method="process"/>
  17. </topic>
  18. <topic name="sync.topic.for.mixed.sync.and.async.queue" request="string" response="string">
  19. <handler name="processRpcRequest" type="Magento\TestModuleSynchronousAmqp\Model\RpcRequestHandler" method="process"/>
  20. </topic>
  21. <topic name="multi.topic.queue.topic.a" request="string" response="string">
  22. <handler name="processRpcRequest" type="Magento\TestModuleSynchronousAmqp\Model\RpcRequestHandler" method="process"/>
  23. </topic>
  24. <topic name="multi.topic.queue.topic.b" request="string" response="string">
  25. <handler name="processRpcRequest" type="Magento\TestModuleSynchronousAmqp\Model\RpcRequestHandler" method="process"/>
  26. </topic>
  27. </config>