INT-2315 headerValueRouter chain mapping minOcc=0

now <header-value-router> doesn't require mapping when it is defined inside <chain>.
Tests for <header-value-router> inside <chain>.
This commit is contained in:
Artem Bilan
2011-12-19 09:51:45 +02:00
committed by Mark Fisher
parent 6f10e92f77
commit 83700f73f4
3 changed files with 49 additions and 3 deletions

View File

@@ -2514,7 +2514,7 @@ endpoint itself is a Polling Consumer for a channel with a queue.
<xsd:complexContent>
<xsd:extension base="commonHeaderValueRouterType">
<xsd:sequence>
<xsd:element name="mapping" type="mappingValueChannelType" minOccurs="1" maxOccurs="unbounded">
<xsd:element name="mapping" type="mappingValueChannelType" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation>
<![CDATA[
@@ -3641,4 +3641,4 @@ endpoint itself is a Polling Consumer for a channel with a queue.
</xsd:simpleType>
</xsd:attribute>
</xsd:attributeGroup>
</xsd:schema>
</xsd:schema>