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 AbstractConsumerEndpointParser
EXPRESSION_ATTRIBUTE, METHOD_ATTRIBUTE, REF_ATTRIBUTEFields inherited from class AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpostProcessHeaderEnricher(BeanDefinitionBuilder builder, Element element, ParserContext parserContext) Subclasses may override this method to provide any additional processing.Methods inherited from class HeaderEnricherParserSupport
addElementToHeaderMapping, addElementToHeaderMapping, getTransformerClassName, parseTransformer, processHeadersMethods inherited from class AbstractTransformerParser
parseHandlerMethods inherited from class AbstractConsumerEndpointParser
getInputChannelAttributeName, parseInternal, replyChannelInChainAllowed, resolveIdMethods inherited from class 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:HeaderEnricherParserSupportSubclasses may override this method to provide any additional processing.- Overrides:
postProcessHeaderEnricherin classHeaderEnricherParserSupport- Parameters:
builder- The builder.element- The element.parserContext- The parser context.
-