⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 openjms.xsd

📁 OpenJMS是一个开源的Java Message Service API 1.0.2 规范的实现,它包含有以下特性: *. 它既支持点到点(point-to-point)(PTP)模型和发布/订
💻 XSD
📖 第 1 页 / 共 3 页
字号:
            connections. Idle connections are removed after 'minIdleTime'            seconds, or if 'testQuery' is specified and the query fails.          </xsd:documentation>        </xsd:annotation>      </xsd:attribute>      <xsd:attribute name="testQuery" type="xsd:string" use="optional">        <xsd:annotation>          <xsd:documentation xml:lang="en">            Specifies an SQL query to validate connections. This query            should return at least one row, and be fast to execute.          </xsd:documentation>        </xsd:annotation>      </xsd:attribute>      <xsd:attribute name="testBeforeUse" type="xsd:boolean" use="optional"                     default="false">        <xsd:annotation>          <xsd:documentation xml:lang="en">            If true, each connection is tested before being used, using            'testQuery'.            If a connection fails, it is discarded, and another connection            allocated. This ensures a higher reliability, at the cost of            performance.          </xsd:documentation>        </xsd:annotation>      </xsd:attribute>      <xsd:attribute name="batch" type="xsd:boolean" use="optional"                      default="false">        <xsd:annotation>          <xsd:documentation xml:lang="en">            Determines whether or not to batch SQL requests. This will            only be useful in certain scenarios (i.e small to medium message            size). This can be controlled with the batchSize parameter.          </xsd:documentation>        </xsd:annotation>      </xsd:attribute>       <xsd:attribute name="batchSize" type="xsd:integer" use="optional"                      default="10">        <xsd:annotation>          <xsd:documentation xml:lang="en">            The number of SQL requests to batch before committing them to             the database.          </xsd:documentation>        </xsd:annotation>      </xsd:attribute>     </xsd:complexType>  </xsd:element>                  <xsd:element name="JndiConfiguration">    <xsd:annotation>      <xsd:documentation>        This element defines the properties used when constructing an         InitialContext. Users only need to specify this if an external JNDI        provider is being used.        Typically the java.naming.factory.initial property must be supplied,        with the fully qualified name of the factory class that will create        an initial context.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element name="property" minOccurs="0" maxOccurs="unbounded">          <xsd:annotation>            <xsd:documentation xml:lang="en">              A property name and value that is used to create an               InitialContext.            </xsd:documentation>          </xsd:annotation>          <xsd:complexType>            <xsd:attribute name="name" type="xsd:string" use="required" />            <xsd:attribute name="value" type="xsd:string" use="required" />          </xsd:complexType>        </xsd:element>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:element name="AdminConfiguration">    <xsd:annotation>      <xsd:documentation xml:lang="en">        This element defines items specific to OpenJMS administration.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:attribute name="script" type="xsd:string" use="required">        <xsd:annotation>          <xsd:documentation xml:lang="en">            The path of the script to start the OpenJMS server.          </xsd:documentation>        </xsd:annotation>      </xsd:attribute>      <xsd:attribute name="config" type="xsd:string" use="optional">        <xsd:annotation>          <xsd:documentation xml:lang="en">            The XML configuration file to run the OpenJMS server with.          </xsd:documentation>        </xsd:annotation>      </xsd:attribute>    </xsd:complexType>  </xsd:element>  <xsd:element name="ConnectionFactories">    <xsd:annotation>      <xsd:documentation xml:lang="en">        Connection factories are bound in JNDI by the OpenJMS server. This        element defines the type and binding of factories.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element name="ConnectionFactory"                      type="ConnectionFactoryType"                      minOccurs="0" maxOccurs="unbounded" />        <xsd:element name="QueueConnectionFactory"                      type="ConnectionFactoryType"                      minOccurs="0" maxOccurs="unbounded" />        <xsd:element name="TopicConnectionFactory"                     type="ConnectionFactoryType"                      minOccurs="0" maxOccurs="unbounded" />        <xsd:element name="XAConnectionFactory"                      type="ConnectionFactoryType"                      minOccurs="0" maxOccurs="unbounded" />        <xsd:element name="XAQueueConnectionFactory"                     type="ConnectionFactoryType"                      minOccurs="0" maxOccurs="unbounded" />        <xsd:element name="XATopicConnectionFactory"                     type="ConnectionFactoryType"                     minOccurs="0" maxOccurs="unbounded" />      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:complexType name="ConnectionFactoryType">    <xsd:attribute name="name" type="xsd:string" use="required" />  </xsd:complexType>  <xsd:element name="LoggerConfiguration">    <xsd:annotation>      <xsd:documentation xml:lang="en">        This element specifies the file to initialise logging with. OpenJMS        uses Apache log4j (http://jakarta.apache.org/log4j/docs/index.html)         for logging.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:attribute name="file" type="xsd:string" use="required">        <xsd:annotation>          <xsd:documentation xml:lang="en">            The path to an XML file conforming to log4j.dtd          </xsd:documentation>        </xsd:annotation>      </xsd:attribute>    </xsd:complexType>  </xsd:element>  <xsd:element name="SecurityConfiguration">    <xsd:annotation>      <xsd:documentation xml:lang="en">        This element defines items specific to the OpenJMS server.        By default, OpenJMS uses no security.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:attribute name="securityEnabled" type="xsd:boolean" use="optional"                      default="false">        <xsd:annotation>          <xsd:documentation xml:lang="en">            Enables/disables security.          </xsd:documentation>        </xsd:annotation>      </xsd:attribute>    </xsd:complexType>  </xsd:element>  <xsd:element name="Users">    <xsd:annotation>      <xsd:documentation xml:lang="en">        This element is used to bootstrap the creation of users.      </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element name="User" minOccurs="0"                      maxOccurs="unbounded">          <xsd:annotation>            <xsd:documentation xml:lang="en">              This element defines an User.            </xsd:documentation>          </xsd:annotation>          <xsd:complexType>            <xsd:attribute name="name" type="xsd:string" use="required">              <xsd:annotation>                <xsd:documentation xml:lang="en">                  The name of the user.                </xsd:documentation>              </xsd:annotation>            </xsd:attribute>            <xsd:attribute name="password" type="xsd:string" use="required">              <xsd:annotation>                <xsd:documentation xml:lang="en">                  The password of the user.                </xsd:documentation>              </xsd:annotation>            </xsd:attribute>          </xsd:complexType>        </xsd:element>              </xsd:sequence>    </xsd:complexType>  </xsd:element>              <xsd:element name="AdministeredDestinations">    <xsd:annotation>      <xsd:documentation xml:lang="en">        This element is used to bootstrap the creation of administered topics         and queues. It also allows the client to register durable subscribers         for administered topics.            OpenJMS also supports topic hierarchy and wildcard subscriptions.         A topic hierarchy is defined as a sequence of names separated by a '.'         (i.e a.b.c).        Users can subscribe to multiple topics using '*' and the '**'. A '*'         will wildcard one level in the hierarchy and a '**' will wildcard all         subsequent levels (i.e a.*, a.b.** or **).       </xsd:documentation>    </xsd:annotation>    <xsd:complexType>      <xsd:sequence>        <xsd:element name="AdministeredTopic" minOccurs="0"                      maxOccurs="unbounded">          <xsd:annotation>            <xsd:documentation xml:lang="en">              This element defines an administered topic, and any durable              subscribers.            </xsd:documentation>          </xsd:annotation>          <xsd:complexType>            <xsd:sequence>              <xsd:element name="Subscriber" minOccurs="0"                            maxOccurs="unbounded">                <xsd:annotation>                  <xsd:documentation xml:lang="en">                    This defines a durable subscriber to an administered topic                  </xsd:documentation>                </xsd:annotation>                <xsd:complexType>                  <xsd:attribute name="name" type="xsd:string" use="required">                    <xsd:annotation>                      <xsd:documentation xml:lang="en">                        The name of the durable subscriber.                      </xsd:documentation>                    </xsd:annotation>                  </xsd:attribute>                </xsd:complexType>              </xsd:element>            </xsd:sequence>             <xsd:attribute name="name" type="xsd:string" use="required">              <xsd:annotation>                <xsd:documentation xml:lang="en">                  The name of the topic. This must be unique.                </xsd:documentation>              </xsd:annotation>            </xsd:attribute>          </xsd:complexType>        </xsd:element>                <xsd:element name="AdministeredQueue" minOccurs="0"                      maxOccurs="unbounded">          <xsd:annotation>            <xsd:documentation xml:lang="en">              This element defines an administered queue.            </xsd:documentation>          </xsd:annotation>          <xsd:complexType>            <xsd:attribute name="name" type="xsd:string" use="required">              <xsd:annotation>                <xsd:documentation xml:lang="en">                  The name of the queue. This must be unique.                </xsd:documentation>              </xsd:annotation>            </xsd:attribute>          </xsd:complexType>        </xsd:element>      </xsd:sequence>    </xsd:complexType>  </xsd:element>  <xsd:simpleType name="threadPriority">    <xsd:restriction base="xsd:integer">      <xsd:minInclusive value="1" />      <xsd:maxExclusive value="10" />    </xsd:restriction>  </xsd:simpleType>  <xsd:simpleType name="seconds">    <xsd:restriction base="xsd:nonNegativeInteger" />  </xsd:simpleType></xsd:schema>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -