INT-1234. Added order support and documentation

This commit is contained in:
David Turanski
2011-04-29 14:08:27 -04:00
parent 714b952b58
commit 763d70d4ff
3 changed files with 34 additions and 8 deletions

View File

@@ -2800,6 +2800,18 @@ Name of the header whose value will be used to route messages
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="order" type="xsd:integer" use="optional">
<xsd:annotation>
<xsd:documentation>
[OPTIONAL] Specifies the order in which this interceptor will be
added to the existing channel
interceptors (if any).
Negative value (e.g., -2) will signify BEFORE existing iinterceptors (if any). Positive
value (e.g., 2)
will signify AFTER existing interceptors (if any)
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

View File

@@ -26,7 +26,7 @@
<bridge input-channel="random-channel" output-channel="output"/>
<!-- This wiretap targets a single channel -->
<wire-tap id="wiretap-single-channel" channel="wiretap-single" pattern="channel"/>
<wire-tap id="wiretap-single-channel" channel="wiretap-single" pattern="channel" order="0"/>
<!-- This wiretap targets all channels -->
<wire-tap id="wiretap-all-channels" channel="wiretap-all"/>