Defines the configuration elements for Spring Integration's XML support.
Defines an XML marshalling transformer.
Specify whether to extract the payload before passing to the Marshaller. By default, this
value is "true". To have the full Message passed instead, set this to "false".
Defines an XML unmarshalling transformer.
Defines an XSLT transformer.
Defines an XPath transformer.
The XPath expression string to be evaluated against the input Message's payload.
Either this or 'xpath-expression-ref' must be provided, but not both.
Reference to the XPathExpression instance to be evaluated against the input Message's payload.
Either this or 'xpath-expression' must be provided, but not both.
The result type expected from the XPath evaluation. This will be the payload type of the output Message.
Reference to a NodeMapper. If this is provided, the 'evaluation-type' will be ignored. Instead, the
org.springframework.xml.xpath.XPathExpression's evaluateAsObject(Node node, NodeMapper nodeMapper)
method will be invoked.
Specify the XmlPayloadConverter to use when converting a Message payload prior to XPath evaluation.
The DefaultXmlPayloadConverter is used if this reference is not provided, and it
should be sufficient in most cases since it can convert from Node, Document, Source,
File, and String typed payloads. If you need to extend beyond the capabilities of
that default implementation, then an upstream Transformer is probably a better option
than providing a reference to a custom implementation of this strategy here.
Defines a Header Enricher Message Transformer that evaluates XPath expressions against the
message payload and inserts the result of the evaluation into a message header.
Specify the default boolean value for whether to overwrite existing header values. This will
only take effect for sub-elements that do not provide their own 'overwrite' attribute. If the
'default-overwrite' attribute is not provided, then the specified header values will NOT
overwrite any existing ones with the same header names.
Specify whether null values, such as might be returned from an expression evaluation, should be
skipped. The default value is true. Set this to false if a null value should trigger removal of
the corresponding header instead.
Defines an XPath expression to be configured within an <xpath-header-enricher/> element.
The name of the header to be enriched.
The XPath Expression as a String. Either this or 'xpath-expression-ref' must be provided, but not both.
The XPath Expression reference. Either this or 'xpath-expression' must be provided, but not both.
The result type expected from the XPath evaluation. This will be the type of the header value.
Boolean value to indicate whether this header value should overwrite an existing header value
for the same name if already present on the input Message.
Reference to the XPathExpression instance to be
evaluated against the input Message's payload. Either
this or 'xpath-expression' must be provided, but not
both.
representing channel names. Typically such a list
will contain a single channel name. However,
based on the results of an XPath Expression, the
XPath router can also take on the characteristics
of a Recipient List Router if the XPath Expression
returns more then one value. In that case, the
List will contain more then one channel
name and consequently Messages will be sent to
all channels in the list.
]]>
]]>
Specify the Converter to use when converting payloads prior to XPath evaluation.
The DefaultXmlPayloadConverter is used if this reference is not provided, and it
should be sufficient in most cases since it can convert from Node, Document, Source,
File, and String typed payloads. If you need to extend beyond the capabilities of
that default implementation, then an upstream Transformer is probably a better option
than providing a reference to a custom implementation of this strategy here.
representing channel names. Typically such a list
will contain a single channel name. However,
based on the results of an XPath Expression, the
XPath router can also take on the characteristics
of a Recipient List Router if the XPath Expression
returns more then one value. In that case, the
List will contain more then one channel
name and consequently Messages will be sent to
all channels in the list.
]]>
]]>
Defines an XPath-based Message Filter. If the XPath expression will evaluate to a boolean,
no configuration attributes are required. If the XPath expression will evaluate to a String,
a "match-value" should be provided against which the evaluation result will be matched.
There are three options for the "match-type": exact, case-insensitive, and regex. These
correspond to the equals, equals-ignore-case, and matches operations on java.lang.String,
respectively. When providing a 'match-type' value of 'regex', the value provided in
'match-value' must be a valid Regular Expression.
The XPath expression to evaluate.
Reference to an XPath expression instance to evaluate.
String value to be matched against the XPath evaluation result. If this is not provided,
then the XPath evaluation MUST produce a boolean result directly.
Type of match to apply between the XPath evaluation result and the 'match-value'.
Default is "exact".
representing channel names. Typically such a list
will contain a single channel name. However, based
on the result of an XPath Expression the XPath router
can also take on the characteristics of the
Recipient List Router if the XPath Expression
returns more than one value, thus resulting in
the List containing more than one channel
name.
In that case the Message will be sent to all channels
in the list.
]]>
Defines an XPath splitter.
Set this flag to 'true' to convert each resuling Node to a Document
before sending replies from this splitter. Default is 'false'
Set this flag to false to prevent adding sequence related headers in this splitter.
This can be convenient in cases where the set sequence numbers conflict with downstream
custom aggregations. When true, existing correlation and sequence related headers
are pushed onto a stack; downstream components, such as aggregators may pop
the stack to revert the existing headers after aggregation. Default is 'true'.
Defines an XML validating filter.
Reference to a custom 'org.springframework.xml.validation.XmlValidator' strategy
Base type for XML filters.
Message Channel where you want accepted messages to be sent.
Message Channel where you want rejected messages to be sent.