Class StandardHeaderEnricherParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractConsumerEndpointParser
org.springframework.integration.config.xml.AbstractTransformerParser
org.springframework.integration.config.xml.HeaderEnricherParserSupport
org.springframework.integration.config.xml.StandardHeaderEnricherParser
- All Implemented Interfaces:
BeanDefinitionParser
Parser for the <header-enricher> element within the core integration
namespace. This is used for setting the standard, out-of-the-box
configurable
MessageHeaders
, such as 'reply-channel', 'priority',
and 'correlation-id'. It will also accept custom header values (or bean
references) if provided as 'header' sub-elements.- Author:
- Mark Fisher, Oleg Zhurakousky, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
EXPRESSION_ATTRIBUTE, METHOD_ATTRIBUTE, REF_ATTRIBUTE
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
postProcessHeaderEnricher
(BeanDefinitionBuilder builder, Element element, ParserContext parserContext) Subclasses may override this method to provide any additional processing.Methods inherited from class org.springframework.integration.config.xml.HeaderEnricherParserSupport
addElementToHeaderMapping, addElementToHeaderMapping, getTransformerClassName, parseTransformer, processHeaders
Methods inherited from class org.springframework.integration.config.xml.AbstractTransformerParser
parseHandler
Methods inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParser
getInputChannelAttributeName, parseInternal, replyChannelInChainAllowed, resolveId
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
StandardHeaderEnricherParser
public StandardHeaderEnricherParser()
-
-
Method Details
-
postProcessHeaderEnricher
protected void postProcessHeaderEnricher(BeanDefinitionBuilder builder, Element element, ParserContext parserContext) Description copied from class:HeaderEnricherParserSupport
Subclasses may override this method to provide any additional processing.- Overrides:
postProcessHeaderEnricher
in classHeaderEnricherParserSupport
- Parameters:
builder
- The builder.element
- The element.parserContext
- The parser context.
-