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

📄 schema.vm

📁 提供ESB 应用mule源代码 提供ESB 应用mule源代码
💻 VM
字号:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><xsd:schema xmlns="http://www.mulesource.org/schema/mule/${TransportNameLower}/${MuleMajorMinorVersion}"            xmlns:xsd="http://www.w3.org/2001/XMLSchema"            xmlns:mule="http://www.mulesource.org/schema/mule/core/${MuleMajorMinorVersion}"            targetNamespace="http://www.mulesource.org/schema/mule/${TransportNameLower}/${MuleMajorMinorVersion}"            elementFormDefault="qualified"            attributeFormDefault="unqualified">    <xsd:import namespace="http://www.w3.org/XML/1998/namespace"/>    <xsd:import namespace="http://www.springframework.org/schema/beans"                schemaLocation="http://www.springframework.org/schema/beans"/>    <xsd:import namespace="http://www.mulesource.org/schema/mule/core/${MuleMajorMinorVersion}"/>    <xsd:element name="connector" type="${TransportNameLower}ConnectorType" substitutionGroup="mule:abstract-connector">        <xsd:annotation>            <xsd:documentation>                ${description}            </xsd:documentation>        </xsd:annotation>    </xsd:element>    <xsd:complexType name="${TransportNameLower}ConnectorType">        <xsd:complexContent>            <xsd:extension base="mule:connectorType">            <!--            TODO for simple property types you can just add xsd:attribute elements here            For complex properties with multiple values you can add custom elements and register            a definition parser with ${TransportNameLower}NamespaceHandler.            For example -            <xsd:attribute name="swizzleSize" type="mule:substitutableInt">                <xsd:annotation>                    <xsd:documentation>                        Sets the amount of swizzle available for your twizzle                    </xsd:documentation>                </xsd:annotation>            </xsd:attribute>            Note the type of the attribute is mule:substitutableInt.  For non-string simple            types you should use mule:substitutableBoolean, mule:substitutableLong, etc since            these types allow property placeholders to be used instead of the actual value.            The property can then be set according to the properties available to the MUle instance. i.e            <${TransportNameLower}:connector name="smallTwizzler" swizzlerSize="${small.swizzle}"/>            where small.swizzle is set in a properties files or system property.  This makes it easy            to use the same config file for differnet environments such as Developement, UAT and Production            -->            </xsd:extension>        </xsd:complexContent>    </xsd:complexType>    <!--    The following define endpoint elements for this transport. Attributes for the endpoint can be defined at the section    at the bottom    -->    <xsd:element name="inbound-endpoint" type="inboundEndpointType" substitutionGroup="mule:abstract-inbound-endpoint"/>    <xsd:complexType name="inboundEndpointType">        <xsd:complexContent>            <xsd:extension base="mule:inboundEndpointType">                <xsd:attributeGroup ref="addressAttributes"/>                <xsd:attributeGroup ref="propertyAttributes"/>            </xsd:extension>        </xsd:complexContent>    </xsd:complexType>    <xsd:element name="outbound-endpoint" type="outboundEndpointType" substitutionGroup="mule:abstract-outbound-endpoint"/>    <xsd:complexType name="outboundEndpointType">        <xsd:complexContent>            <xsd:extension base="mule:outboundEndpointType">                <xsd:attributeGroup ref="addressAttributes"/>                <xsd:attributeGroup ref="propertyAttributes"/>            </xsd:extension>        </xsd:complexContent>    </xsd:complexType>    <xsd:element name="endpoint" type="globalEndpointType" substitutionGroup="mule:abstract-global-endpoint"/>    <xsd:complexType name="globalEndpointType">        <xsd:complexContent>            <xsd:extension base="mule:globalEndpointType">                <xsd:attributeGroup ref="addressAttributes"/>                <xsd:attributeGroup ref="propertyAttributes"/>            </xsd:extension>        </xsd:complexContent>    </xsd:complexType>    <xsd:attributeGroup name="addressAttributes">    <!--        TODO define address attributes for this endpoints i.e. queue, host, port, etc        <xsd:attribute name="foo" type="xsd:string"/>    -->    </xsd:attributeGroup>    <xsd:attributeGroup name="propertyAttributes">         <!--        TODO define property attributes for this endpoint. These are properties that can configure the way the        transport behaves but are not used to create the endpoint address.        <xsd:attribute name="bar" type="xsd:string"/>    -->    </xsd:attributeGroup></xsd:schema>

⌨️ 快捷键说明

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