Factored common routing configuration into a reusable type in the schema.

This commit is contained in:
Mark Fisher
2009-06-19 17:20:20 +00:00
parent 98f0cb5a6b
commit 36343efda8

View File

@@ -842,7 +842,7 @@
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="inputEndpointType">
<xsd:extension base="routerType">
<xsd:sequence>
<xsd:element name="mapping" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
@@ -858,18 +858,6 @@
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="default-output-channel" type="xsd:string">
<xsd:annotation>
<xsd:appinfo>
<tool:annotation kind="ref">
<tool:expected-type
type="org.springframework.integration.core.MessageChannel" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="resolution-required" type="xsd:string"/>
<xsd:attribute name="ignore-channel-name-resolution-failures" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
@@ -884,7 +872,7 @@
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="inputEndpointType">
<xsd:extension base="routerType">
<xsd:sequence>
<xsd:element name="mapping" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
@@ -893,18 +881,6 @@
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="default-output-channel" type="xsd:string">
<xsd:annotation>
<xsd:appinfo>
<tool:annotation kind="ref">
<tool:expected-type
type="org.springframework.integration.core.MessageChannel" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="resolution-required" type="xsd:string"/>
<xsd:attribute name="ignore-channel-name-resolution-failures" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
@@ -913,22 +889,13 @@
<xsd:element name="router">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines a Router.
Defines a Router that serves as an adapter for invoking a method on any
Spring-managed object as specified by the "ref" and "method" attributes.
]]></xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="inputEndpointType">
<xsd:attribute name="default-output-channel" type="xsd:string">
<xsd:annotation>
<xsd:appinfo>
<tool:annotation kind="ref">
<tool:expected-type
type="org.springframework.integration.core.MessageChannel" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:extension base="routerType">
<xsd:attribute name="ref" type="xsd:string">
<xsd:annotation>
<xsd:appinfo>
@@ -939,13 +906,30 @@
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="method" type="xsd:string"/>
<xsd:attribute name="resolution-required" type="xsd:string"/>
<xsd:attribute name="ignore-channel-name-resolution-failures" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="routerType">
<xsd:complexContent>
<xsd:extension base="inputEndpointType">
<xsd:attribute name="default-output-channel" type="xsd:string">
<xsd:annotation>
<xsd:appinfo>
<tool:annotation kind="ref">
<tool:expected-type
type="org.springframework.integration.core.MessageChannel" />
</tool:annotation>
</xsd:appinfo>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="resolution-required" type="xsd:string"/>
<xsd:attribute name="ignore-channel-name-resolution-failures" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:element name="splitter" type="handlerEndpointType">
<xsd:annotation>
<xsd:documentation>