org.springframework.integration.router
Class AbstractSingleChannelNameRouter
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.router.AbstractMessageRouter
org.springframework.integration.router.AbstractChannelNameResolvingMessageRouter
org.springframework.integration.router.AbstractSingleChannelNameRouter
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, Ordered, MessageHandler, NamedComponent
- Direct Known Subclasses:
- XmlPayloadValidatingRouter
public abstract class AbstractSingleChannelNameRouter
- extends AbstractChannelNameResolvingMessageRouter
Extends AbstractChannelNameResolvingMessageRouter
to support router
implementations that always return a single channel name (or null).
- Author:
- Mark Fisher
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString, writeMessageHistory |
AbstractSingleChannelNameRouter
public AbstractSingleChannelNameRouter()
getChannelIndicatorList
protected final List<Object> getChannelIndicatorList(Message<?> message)
- Description copied from class:
AbstractChannelNameResolvingMessageRouter
- Subclasses must implement this method to return the channel indicators.
- Specified by:
getChannelIndicatorList
in class AbstractChannelNameResolvingMessageRouter
determineTargetChannelName
protected abstract String determineTargetChannelName(Message<?> message)
- Subclasses must implement this method to return the channel name.
Copyright © 2010. All Rights Reserved.