msmq.xsd 5.6 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
<?xml version="1.0" encoding="utf-8"?>
<!--
  <copyright file="msmq.xsd" company="Outercurve Foundation">
    Copyright (c) 2004, Outercurve Foundation.
    This software is released under Microsoft Reciprocal License (MS-RL).
    The license and further copyright text can be found in the file
    LICENSE.TXT at the root directory of the distribution.
  </copyright>
-->
<xs:schema xmlns:html="http://www.w3.org/1999/xhtml"
            xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"
             xmlns:xs="http://www.w3.org/2001/XMLSchema"
            xmlns:xse="http://schemas.microsoft.com/wix/2005/XmlSchemaExtension"
      targetNamespace="http://schemas.microsoft.com/wix/MsmqExtension"
                xmlns="http://schemas.microsoft.com/wix/MsmqExtension">
  <xs:annotation>
    <xs:documentation>
      The source code schema for the Windows Installer XML Toolset MSMQ Extension.
    </xs:documentation>
  </xs:annotation>

  <xs:import namespace="http://schemas.microsoft.com/wix/2006/wi" />

  <xs:element name="MessageQueue">
    <xs:annotation><xs:documentation>
    </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:sequence>
        <xs:element ref="MessageQueuePermission" minOccurs="0" maxOccurs="unbounded" />
      </xs:sequence>
      <xs:attribute name="Id" use="required" type="xs:string">
        <xs:annotation><xs:documentation>
        </xs:documentation></xs:annotation>
      </xs:attribute>
      <xs:attribute name="Authenticate" use="optional" type="YesNoType">
        <xs:annotation><xs:documentation>
          Default: No.
        </xs:documentation></xs:annotation>
      </xs:attribute>
      <xs:attribute name="BasePriority" use="optional" type="xs:integer" />
      <xs:attribute name="Journal" use="optional" type="YesNoType">
        <xs:annotation><xs:documentation>
          Default: No.
        </xs:documentation></xs:annotation>
      </xs:attribute>
      <xs:attribute name="JournalQuota" use="optional" type="xs:integer" />
      <xs:attribute name="Label" use="required" type="xs:string" />
      <xs:attribute name="MulticastAddress" use="optional" type="xs:string" />
      <xs:attribute name="PathName" use="required" type="xs:string" />
      <xs:attribute name="PrivLevel" use="optional">
        <xs:simpleType>
          <xs:restriction base="xs:NMTOKEN">
            <xs:enumeration value="none" />
            <xs:enumeration value="optional" />
            <xs:enumeration value="body" />
          </xs:restriction>
        </xs:simpleType>
      </xs:attribute>
      <xs:attribute name="Quota" use="optional" type="xs:integer" />
      <xs:attribute name="Transactional" use="optional" type="YesNoType">
        <xs:annotation><xs:documentation>
          Default: No.
        </xs:documentation></xs:annotation>
      </xs:attribute>
      <xs:attribute name="ServiceTypeGuid" use="optional" type="xs:string" />
    </xs:complexType>
  </xs:element>

  <xs:element name="MessageQueuePermission">
    <xs:annotation><xs:documentation>
    </xs:documentation>
      <xs:appinfo>
        <xse:parent namespace="http://schemas.microsoft.com/wix/2006/wi" ref="Component" />
      </xs:appinfo>
    </xs:annotation>
    <xs:complexType>
      <xs:attribute name="Id" use="required" type="xs:string">
        <xs:annotation><xs:documentation>
        </xs:documentation></xs:annotation>
      </xs:attribute>
      <xs:attribute name="MessageQueue" use="optional" type="xs:string">
        <xs:annotation><xs:documentation>
        </xs:documentation></xs:annotation>
      </xs:attribute>
      <xs:attribute name="User" use="optional" type="xs:string">
        <xs:annotation><xs:documentation>
        </xs:documentation></xs:annotation>
      </xs:attribute>
      <xs:attribute name="Group" use="optional" type="xs:string">
        <xs:annotation><xs:documentation>
        </xs:documentation></xs:annotation>
      </xs:attribute>
      <xs:attribute name="DeleteMessage" use="optional" type="YesNoType" />
      <xs:attribute name="PeekMessage" use="optional" type="YesNoType" />
      <xs:attribute name="WriteMessage" use="optional" type="YesNoType" />
      <xs:attribute name="DeleteJournalMessage" use="optional" type="YesNoType" />
      <xs:attribute name="SetQueueProperties" use="optional" type="YesNoType" />
      <xs:attribute name="GetQueueProperties" use="optional" type="YesNoType" />
      <xs:attribute name="DeleteQueue" use="optional" type="YesNoType" />
      <xs:attribute name="GetQueuePermissions" use="optional" type="YesNoType" />
      <xs:attribute name="ChangeQueuePermissions" use="optional" type="YesNoType" />
      <xs:attribute name="TakeQueueOwnership" use="optional" type="YesNoType" />
      <xs:attribute name="ReceiveMessage" use="optional" type="YesNoType" />
      <xs:attribute name="ReceiveJournalMessage" use="optional" type="YesNoType" />
      <xs:attribute name="QueueGenericRead" use="optional" type="YesNoType" />
      <xs:attribute name="QueueGenericWrite" use="optional" type="YesNoType" />
      <xs:attribute name="QueueGenericExecute" use="optional" type="YesNoType" />
      <xs:attribute name="QueueGenericAll" use="optional" type="YesNoType" />
    </xs:complexType>
  </xs:element>

  <xs:simpleType name="YesNoType">
    <xs:annotation>
      <xs:documentation>Values of this type will either be "yes" or "no".</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:NMTOKEN">
      <xs:enumeration value="no" />
      <xs:enumeration value="yes" />
    </xs:restriction>
  </xs:simpleType>

</xs:schema>