Class AbstractRouterParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractConsumerEndpointParser
org.springframework.integration.config.xml.AbstractRouterParser
- All Implemented Interfaces:
BeanDefinitionParser
- Direct Known Subclasses:
ErrorMessageExceptionTypeRouterParser
,HeaderValueRouterParser
,PayloadTypeRouterParser
,RecipientListRouterParser
,XPathRouterParser
Base parser for routers.
- Author:
- Mark Fisher, 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
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract BeanDefinition
doParseRouter
(Element element, ParserContext parserContext) protected String
Returns the name of the attribute that provides a key for the channel mappings.protected final BeanDefinitionBuilder
parseHandler
(Element element, ParserContext parserContext) Parse the MessageHandler.protected final BeanDefinition
parseRouter
(Element element, ParserContext parserContext) 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
-
AbstractRouterParser
public AbstractRouterParser()
-
-
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.
-
parseRouter
-
getMappingKeyAttributeName
Returns the name of the attribute that provides a key for the channel mappings. This can be overridden by subclasses.- Returns:
- The mapping key attribute name.
-
doParseRouter
-