org.springframework.integration.router
Class AbstractSingleChannelRouter
java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.router.AbstractMessageRouter
org.springframework.integration.router.AbstractSingleChannelRouter
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, Ordered, NamedComponent, MessageHandler, TrackableComponent
- Direct Known Subclasses:
- ErrorMessageExceptionTypeRouter, PayloadTypeRouter
public abstract class AbstractSingleChannelRouter
- extends AbstractMessageRouter
Extends AbstractMessageRouter
to support router implementations that
always return a single MessageChannel
instance (or null).
- Author:
- Mark Fisher
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getRequiredMetadataPersister, getTaskScheduler, onInit, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
AbstractSingleChannelRouter
public AbstractSingleChannelRouter()
determineTargetChannels
protected final Collection<MessageChannel> determineTargetChannels(Message<?> message)
- Description copied from class:
AbstractMessageRouter
- Subclasses must implement this method to return the target channels for
a given Message.
- Specified by:
determineTargetChannels
in class AbstractMessageRouter
determineTargetChannel
protected abstract MessageChannel determineTargetChannel(Message<?> message)
- Subclasses must implement this method to return the target channel.
Copyright © 2010. All Rights Reserved.