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
public class EnricherParser extends AbstractConsumerEndpointParser
Parser for the 'enricher' element.
- Since:
- 2.1
- Author:
- Mark Fisher, Artem Bilan, Liujiong, Kris Jacyna, Gary Russell
-
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
Constructors Constructor Description EnricherParser()
-
Method Summary
Modifier and Type Method Description protected BeanDefinitionBuilder
parseHandler(Element element, ParserContext parserContext)
Parse the MessageHandler.protected boolean
replyChannelInChainAllowed(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.AbstractConsumerEndpointParser
getInputChannelAttributeName, parseInternal, resolveId
Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Constructor Details
-
EnricherParser
public EnricherParser()
-
-
Method Details
-
parseHandler
Description copied from class:AbstractConsumerEndpointParser
Parse the MessageHandler.- Specified by:
parseHandler
in classAbstractConsumerEndpointParser
- Parameters:
element
- The element.parserContext
- The parser context.- Returns:
- The bean definition builder.
-
replyChannelInChainAllowed
Description copied from class:AbstractConsumerEndpointParser
Override 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:
replyChannelInChainAllowed
in classAbstractConsumerEndpointParser
- Parameters:
element
- the element.- Returns:
- true to allow a reply channel attribute within a chain.
-