Transformer implementation that evaluates XPath expressions against the
message payload and inserts the result of the evaluation into a message
header. The header names will match the keys in the map of expressions.
- Jonas Partner
- Mark Fisher
Create an instance of XPathHeaderEnricher using a map with header names as keys
and XPathExpressionValueHolders to evaluate the values.
Assert.hasText(expression, "expression must have text");
Assert.notNull(expression, "expression must not be null");