summaryrefslogtreecommitdiffstats
path: root/sandbox/axis2-1.4/modules/assembly-xsd/src/main/resources/sca-binding-jms.xsd
blob: 850f32b56ace4046ee5784998eb956c466bfafdb (plain)
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
127
128
129
130
131
132
133
134
135
<?xml version="1.0" encoding="UTF-8"?>
<!-- (c) Copyright SCA Collaboration 2006, 2007 -->
<schema xmlns="http://www.w3.org/2001/XMLSchema" 
        targetNamespace="http://www.osoa.org/xmlns/sca/1.0" 
        xmlns:sca="http://www.osoa.org/xmlns/sca/1.0"
        elementFormDefault="qualified">

   <include schemaLocation="sca-core.xsd"/>

   <complexType name="JMSBinding">
      <complexContent>
         <extension base="sca:Binding">
            <sequence>
               <element name="destination" type="sca:Destination" minOccurs="0"/>
   	         <element name="connectionFactory" type="sca:ConnectionFactory"  
                        minOccurs="0"/>
 	         <element name="activationSpec" type="sca:ActivationSpec" 
                        minOccurs="0"/>
  	         <element name="response" type="sca:Response" minOccurs="0"/>
               <element name="headers" type="sca:Headers" minOccurs="0"/>
    	         <element name="resourceAdapter" type="sca:ResourceAdapter" 
                        minOccurs="0"/>
               <element name="operationProperties" type="sca:OperationProperties" 
                        minOccurs="0" maxOccurs="unbounded"/>
               <any namespace="##other" processContents="lax" 
                    minOccurs="0" maxOccurs="unbounded"/>
            </sequence>
    	      <attribute name="correlationScheme"
                       default="RequestMsgIDToCorrelID">
    	         <simpleType>
                  <restriction base="string">
                     <enumeration value="RequestMsgIDToCorrelID"/>
                     <enumeration value="RequestCorrelIDToCorrelID"/>
                     <enumeration value="None"/>
                  </restriction>
               </simpleType>
            </attribute>

            <attribute name="initialContextFactory" type="anyURI"/>
            <attribute name="jndiURL" type="anyURI"/>
            <attribute name="requestConnection" type="QName"/>
            <attribute name="responseConnection" type="QName"/>
            <attribute name="operationProperties" type="QName"/>
            <anyAttribute/>
         </extension>
      </complexContent>
   </complexType>

   <simpleType name="CreateResource">
      <restriction base="string">
         <enumeration value="always"/>
         <enumeration value="never"/>
         <enumeration value="ifnotexist"/>
      </restriction>
   </simpleType>

   <complexType name="Destination">
      <sequence>
         <element name="property" type="string" 
                  minOccurs="0" maxOccurs="unbounded"/>
      </sequence>
      <attribute name="name" type="anyURI" use="required"/>
      <attribute name="type" use="optional" default="queue">
         <simpleType>
            <restriction base="string">
               <enumeration value="queue"/>
               <enumeration value="topic"/>
            </restriction>
         </simpleType>
      </attribute>
      <attribute name="create" type="sca:CreateResource" 
                 use="optional" default="ifnotexist"/>
   </complexType>

   <complexType name="ConnectionFactory">
    	<sequence>          <element name="property" type="string" 
                  minOccurs="0" maxOccurs="unbounded"/>
    	</sequence>
    	<attribute name="name" type="anyURI" use="required"/>
    	<attribute name="create" type="sca:CreateResource" 
                 use="optional" default="ifnotexist"/>
   </complexType>

   <complexType name="ActivationSpec">
      <sequence>
         <element name="property" type="string" 
                  minOccurs="0" maxOccurs="unbounded"/>
      </sequence>
      <attribute name="name" type="anyURI" use="required"/>
      <attribute name="create" type="sca:CreateResource"
                 use="optional" default="ifnotexist"/>
   </complexType>

   <complexType name="Response">
      <sequence>
         <element name="destination" type="sca:Destination" minOccurs="0"/>
         <element name="connectionFactory" type="sca:ConnectionFactory" 
                  minOccurs="0"/>
         <element name="activationSpec" type="sca:ActivationSpec" minOccurs="0"/>
      </sequence>
   </complexType>

   <complexType name="Headers">
      <sequence>
         <element name="property" type="string" 
                  minOccurs="0" maxOccurs="unbounded"/>
      </sequence>
      <attribute name="JMSType" type="string"/>
      <attribute name="JMSCorrelationID" type="string"/>
      <attribute name="JMSDeliveryMode" type="string"/>
      <attribute name="JMSTimeToLive" type="int"/>
      <attribute name="JMSPriority" type="string"/>
   </complexType>

   <complexType name="ResourceAdapter">
      <sequence>
         <element name="property" type="string" 
                  minOccurs="0" maxOccurs="unbounded"/>
      </sequence>
      <attribute name="name" type="string" use="required"/>
   </complexType>

   <complexType name="OperationProperties">
      <sequence>
         <element name="property" type="string" 
                  minOccurs="0" maxOccurs="unbounded"/>
         <element name="headers" type="sca:Headers"/>
      </sequence>
      <attribute name="name" type="string" use="required"/>
      <attribute name="nativeOperation" type="string"/>
   </complexType>

   <element name="binding.jms" type="sca:JMSBinding" 
            substitutionGroup="sca:binding"/>
</schema>