Class AbstractConsumerEndpointParser
java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractConsumerEndpointParser
- All Implemented Interfaces:
BeanDefinitionParser
- Direct Known Subclasses:
AbstractCorrelatingMessageHandlerParser
,AbstractJpaOutboundGatewayParser
,AbstractOutboundGatewayParser
,AbstractRemoteFileOutboundGatewayParser
,AbstractRouterParser
,AbstractTransformerParser
,AmqpOutboundGatewayParser
,BarrierParser
,BridgeParser
,CassandraOutboundGatewayParser
,ChainParser
,ControlBusParser
,DefaultRouterParser
,DelayerParser
,EnricherParser
,FileOutboundGatewayParser
,FileSplitterParser
,FilterParser
,GroovyControlBusParser
,HttpOutboundGatewayParser
,JdbcOutboundGatewayParser
,JmsOutboundGatewayParser
,KafkaOutboundGatewayParser
,MongoDbOutboundGatewayParser
,OperationInvokingOutboundGatewayParser
,RedisOutboundGatewayParser
,RedisQueueOutboundGatewayParser
,RSocketOutboundGatewayParser
,ScatterGatherParser
,ServiceActivatorParser
,SplitterParser
,StoredProcOutboundGatewayParser
,TcpOutboundGatewayParser
,TransformerParser
,XmlPayloadValidatingFilterParser
,XPathFilterParser
,XPathMessageSplitterParser
Base class parser for elements that create Message Endpoints.
- Author:
- Mark Fisher, Oleg Zhurakousky, Gary Russell, Artem Bilan
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
Fields inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
ID_ATTRIBUTE, NAME_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected abstract BeanDefinitionBuilder
parseHandler
(Element element, ParserContext parserContext) Parse the MessageHandler.protected final AbstractBeanDefinition
parseInternal
(Element element, ParserContext parserContext) protected boolean
replyChannelInChainAllowed
(Element element) Override to allow 'reply-channel' within a chain, for components where it makes sense (e.g.protected String
resolveId
(Element element, AbstractBeanDefinition definition, ParserContext parserContext) Methods inherited from class org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
parse, postProcessComponentDefinition, registerBeanDefinition, shouldFireEvents, shouldGenerateId, shouldGenerateIdAsFallback, shouldParseNameAsAliases
-
Field Details
-
REF_ATTRIBUTE
- See Also:
-
METHOD_ATTRIBUTE
- See Also:
-
EXPRESSION_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
AbstractConsumerEndpointParser
public AbstractConsumerEndpointParser()
-
-
Method Details
-
resolveId
protected String resolveId(Element element, AbstractBeanDefinition definition, ParserContext parserContext) throws BeanDefinitionStoreException - Overrides:
resolveId
in classAbstractBeanDefinitionParser
- Throws:
BeanDefinitionStoreException
-
parseHandler
Parse the MessageHandler.- Parameters:
element
- The element.parserContext
- The parser context.- Returns:
- The bean definition builder.
-
getInputChannelAttributeName
-
parseInternal
- Specified by:
parseInternal
in classAbstractBeanDefinitionParser
-
replyChannelInChainAllowed
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.- Parameters:
element
- the element.- Returns:
- true to allow a reply channel attribute within a chain.
- Since:
- 4.3
-