Class AbstractChannelAdapterParser

java.lang.Object
org.springframework.beans.factory.xml.AbstractBeanDefinitionParser
org.springframework.integration.config.xml.AbstractChannelAdapterParser
All Implemented Interfaces:
BeanDefinitionParser
Direct Known Subclasses:
AbstractOutboundChannelAdapterParser, AbstractPollingInboundChannelAdapterParser, AbstractXmppInboundChannelAdapterParser, EventInboundChannelAdapterParser, FileTailInboundChannelAdapterParser, GemfireCqInboundChannelAdapterParser, GemfireInboundChannelAdapterParser, ImapIdleChannelAdapterParser, KafkaMessageDrivenChannelAdapterParser, MqttMessageDrivenChannelAdapterParser, NotificationListeningChannelAdapterParser, RedisInboundChannelAdapterParser, RedisQueueInboundChannelAdapterParser, StompInboundChannelAdapterParser, TcpInboundChannelAdapterParser, UdpInboundChannelAdapterParser, WebSocketInboundChannelAdapterParser

public abstract class AbstractChannelAdapterParser
extends AbstractBeanDefinitionParser
Base parser for Channel Adapters.

Includes logic to determine MessageChannel: if 'channel' attribute is defined - uses its value as 'channelName'; if 'id' attribute is defined - creates DirectChannel at runtime and uses id's value as 'channelName'; if current component is defined as nested element inside any other components e.g. <chain> 'id' and 'channel' attributes will be ignored and this component will not be parsed as AbstractEndpoint.

Author:
Mark Fisher, Artem Bilan, Gary Russell