| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| xmlns="urn:activemq:jms" |
| targetNamespace="urn:activemq:jms" |
| elementFormDefault="qualified" |
| attributeFormDefault="unqualified" |
| version="1.0"> |
| |
| <xsd:element name="jms"> |
| <xsd:complexType> |
| <xsd:sequence> |
| <xsd:element name="jmx-domain" type="xsd:string" default="org.apache.activemq" |
| minOccurs="0" maxOccurs="1"/> |
| <xsd:choice maxOccurs="unbounded" minOccurs="0"> |
| <xsd:element ref="queue" maxOccurs="1" minOccurs="1"/> |
| <xsd:element ref="topic" maxOccurs="1" minOccurs="1"/> |
| </xsd:choice> |
| </xsd:sequence> |
| </xsd:complexType> |
| </xsd:element> |
| |
| <xsd:element name="queue" type="queueType"></xsd:element> |
| |
| <xsd:element name="topic" type="topicType"></xsd:element> |
| |
| <xsd:complexType name="queueType"> |
| <xsd:sequence> |
| <xsd:element name="selector" maxOccurs="1" minOccurs="0"> |
| <xsd:complexType> |
| <xsd:attribute name="string" type="xsd:string" use="required"></xsd:attribute> |
| </xsd:complexType> |
| </xsd:element> |
| <xsd:element name="durable" type="xsd:boolean" maxOccurs="1" minOccurs="0"></xsd:element> |
| </xsd:sequence> |
| <xsd:attribute name="name" type="xsd:string" use="required"></xsd:attribute> |
| </xsd:complexType> |
| |
| <xsd:complexType name="topicType"> |
| <xsd:sequence> |
| </xsd:sequence> |
| <xsd:attribute name="name" type="xsd:string" use="required"></xsd:attribute> |
| </xsd:complexType> |
| </xsd:schema> |