topology_merged.xsd 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  9. <xs:redefine schemaLocation="urn:magento:framework-message-queue:etc/topology.xsd">
  10. <xs:complexType name="bindingType" mixed="true">
  11. <xs:complexContent>
  12. <xs:restriction base="bindingType">
  13. <xs:sequence>
  14. <xs:element type="argumentsType" name="arguments" minOccurs="0" maxOccurs="unbounded"/>
  15. </xs:sequence>
  16. <xs:attribute type="xs:string" name="id" use="required"/>
  17. <xs:attribute type="destinationType" name="destinationType" use="required"/>
  18. <xs:attribute type="xs:string" name="destination" use="required"/>
  19. <xs:attribute type="xs:boolean" name="disabled" use="optional"/>
  20. <xs:attribute type="xs:string" name="topic" use="optional"/>
  21. </xs:restriction>
  22. </xs:complexContent>
  23. </xs:complexType>
  24. </xs:redefine>
  25. <xs:redefine schemaLocation="urn:magento:framework-message-queue:etc/topology.xsd">
  26. <xs:complexType name="exchangeConfigType">
  27. <xs:complexContent>
  28. <xs:restriction base="exchangeConfigType">
  29. <xs:choice maxOccurs="unbounded">
  30. <xs:element type="argumentsType" name="arguments" minOccurs="0" maxOccurs="unbounded"/>
  31. <xs:element type="bindingType" name="binding" maxOccurs="unbounded" minOccurs="0"/>
  32. </xs:choice>
  33. <xs:attribute type="xs:string" name="name" use="required"/>
  34. <xs:attribute type="exchangeType" name="type" use="required"/>
  35. <xs:attribute name="connection" type="xs:string" use="required" />
  36. <xs:attribute type="xs:boolean" name="durable" use="optional"/>
  37. <xs:attribute type="xs:boolean" name="autoDelete" use="optional"/>
  38. <xs:attribute type="xs:boolean" name="internal" use="optional"/>
  39. </xs:restriction>
  40. </xs:complexContent>
  41. </xs:complexType>
  42. </xs:redefine>
  43. </xs:schema>