Class EnricherParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractConsumerEndpointParser
org.springframework.integration.config.xml.EnricherParser
- All Implemented Interfaces:
- BeanDefinitionParser
Parser for the 'enricher' element.
- Since:
- 2.1
- Author:
- Mark Fisher, Artem Bilan, Liujiong, Kris Jacyna, Gary Russell
- 
Field SummaryFields inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParserEXPRESSION_ATTRIBUTE, METHOD_ATTRIBUTE, REF_ATTRIBUTEFields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserID_ATTRIBUTE, NAME_ATTRIBUTE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected BeanDefinitionBuilderparseHandler(Element element, ParserContext parserContext) Parse the MessageHandler.protected booleanreplyChannelInChainAllowed(Element element) Override to allow 'reply-channel' within a chain, for components where it makes sense (e.g.Methods inherited from class org.springframework.integration.config.xml.AbstractConsumerEndpointParsergetInputChannelAttributeName, parseInternal, resolveIdMethods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParserparse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
- 
Constructor Details- 
EnricherParserpublic EnricherParser()
 
- 
- 
Method Details- 
parseHandlerDescription copied from class:AbstractConsumerEndpointParserParse the MessageHandler.- Specified by:
- parseHandlerin class- AbstractConsumerEndpointParser
- Parameters:
- element- The element.
- parserContext- The parser context.
- Returns:
- The bean definition builder.
 
- 
replyChannelInChainAllowedDescription copied from class:AbstractConsumerEndpointParserOverride to allow 'reply-channel' within a chain, for components where it makes sense (e.g. enricher). Default is false for outbound gateways, else true.- Overrides:
- replyChannelInChainAllowedin class- AbstractConsumerEndpointParser
- Parameters:
- element- the element.
- Returns:
- true to allow a reply channel attribute within a chain.
 
 
-