public abstract class AbstractOutboundChannelAdapterParser extends AbstractChannelAdapterParser
AbstractEndpoint depending on the channel type.
If this component is defined as nested element (e.g., inside of the chain) it will produce
a MessageHandler.| Constructor and Description |
|---|
AbstractOutboundChannelAdapterParser() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.beans.factory.support.AbstractBeanDefinition |
doParse(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
java.lang.String channelName)
Subclasses must implement this method to parse the adapter element.
|
protected org.springframework.beans.factory.parsing.BeanComponentDefinition |
doParseAndRegisterConsumer(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Override this method to control the registration process and return the bean name.
|
protected boolean |
isUsingReplyProducer()
Override this to signal that this channel adapter is actually using a AbstractReplyProducingMessageHandler
while it is not possible for this parser to determine that because, say, a FactoryBean is being used.
|
protected abstract org.springframework.beans.factory.support.AbstractBeanDefinition |
parseConsumer(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
Override this method to return the BeanDefinition for the MessageConsumer.
|
parseInternal, resolveIdpublic AbstractOutboundChannelAdapterParser()
protected org.springframework.beans.factory.support.AbstractBeanDefinition doParse(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext,
java.lang.String channelName)
AbstractChannelAdapterParserdoParse in class AbstractChannelAdapterParserprotected org.springframework.beans.factory.parsing.BeanComponentDefinition doParseAndRegisterConsumer(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
parseConsumer(Element, ParserContext) instead.protected abstract org.springframework.beans.factory.support.AbstractBeanDefinition parseConsumer(org.w3c.dom.Element element,
org.springframework.beans.factory.xml.ParserContext parserContext)
protected boolean isUsingReplyProducer()