org.springframework.integration.xml.transformer
Class XPathHeaderEnricher
java.lang.Object
org.springframework.integration.transformer.HeaderEnricher
org.springframework.integration.xml.transformer.XPathHeaderEnricher
- All Implemented Interfaces:
- Transformer
public class XPathHeaderEnricher
- extends HeaderEnricher
Transformer implementation that evaluates XPath expressions against the
message payload and inserts the result of the evaluation into a messsage
header. The header names will match the keys in the map of expressions.
- Since:
- 2.0
- Author:
- Jonas Partner, Mark Fisher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XPathHeaderEnricher
public XPathHeaderEnricher(Map<String,XPathHeaderEnricher.XPathExpressionEvaluatingHeaderValueMessageProcessor> expressionMap)
- Create an instance of XPathHeaderEnricher using a map with header names as keys
and XPathExpressionValueHolders to evaluate the values.
Copyright © 2010. All Rights Reserved.