INT-1234. Added order support and documentation
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user