org.springframework.integration.router
Class ExpressionEvaluatingRouter
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.ExpressionEvaluatingRouter
- All Implemented Interfaces:
- BeanFactoryAware, BeanNameAware, InitializingBean, Ordered, NamedComponent, MessageHandler, TrackableComponent
public class ExpressionEvaluatingRouter
- extends AbstractChannelNameResolvingMessageRouter
A Message Router implementation that evaluates the specified SpEL
expression. The result of evaluation will typically be a String to be
resolved to a channel name or a Collection (or Array) of strings.
- Since:
- 2.0
- Author:
- Mark Fisher
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
afterPropertiesSet, getBeanFactory, getComponentName, getConversionService, getRequiredMetadataPersister, getTaskScheduler, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString |
ExpressionEvaluatingRouter
public ExpressionEvaluatingRouter(String expression)
onInit
public final void onInit()
- Description copied from class:
IntegrationObjectSupport
- Subclasses may implement this for initialization logic.
- Overrides:
onInit
in class AbstractChannelNameResolvingMessageRouter
getChannelIndicatorList
protected 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
Copyright © 2010. All Rights Reserved.