Class HeaderEnricher

java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.transformer.HeaderEnricher
All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, InitializingBean, ApplicationContextAware, ExpressionCapable, IntegrationPattern, NamedComponent, GenericTransformer<Message<?>,​Message<?>>, Transformer
Direct Known Subclasses:
XPathHeaderEnricher

public class HeaderEnricher
extends IntegrationObjectSupport
implements Transformer, IntegrationPattern
A Transformer that adds statically configured header values to a Message. Accepts the boolean 'overwrite' property that specifies whether values should be overwritten. By default, any existing header values for a given key, will not be replaced.
Author:
Mark Fisher, David Turanski, Artem Bilan, Gary Russell