Class XPathHeaderEnricher

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, InitializingBean, ApplicationContextAware, ExpressionCapable, IntegrationPattern, NamedComponent, GenericTransformer<Message<?>,​Message<?>>, 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 message header. The header names will match the keys in the map of expressions.
Since:
2.0
Author:
Jonas Partner, Mark Fisher