|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.handler.AbstractMessageHandler
org.springframework.integration.router.AbstractMessageRouter
org.springframework.integration.router.AbstractChannelNameResolvingMessageRouter
org.springframework.integration.router.ExpressionEvaluatingRouter
public class ExpressionEvaluatingRouter
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.
Field Summary |
---|
Fields inherited from class org.springframework.integration.handler.AbstractMessageHandler |
---|
logger |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
ExpressionEvaluatingRouter(java.lang.String expression)
|
Method Summary | |
---|---|
protected java.util.List<java.lang.Object> |
getChannelIndicatorList(Message<?> message)
Subclasses must implement this method to return the channel indicators. |
void |
onInit()
Subclasses may implement this for initialization logic. |
Methods inherited from class org.springframework.integration.router.AbstractChannelNameResolvingMessageRouter |
---|
addChannelFromString, addToCollection, determineTargetChannels, resolveChannelForName, setChannelResolver, setIgnoreChannelNameResolutionFailures, setPrefix, setSuffix |
Methods inherited from class org.springframework.integration.router.AbstractMessageRouter |
---|
handleMessageInternal, populateComponentMetadata, setApplySequence, setDefaultOutputChannel, setIgnoreSendFailures, setResolutionRequired, setTimeout |
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler |
---|
getOrder, handleMessage, resolveReplyChannel, setOrder |
Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport |
---|
afterPropertiesSet, getBeanFactory, getBeanName, getChannelResolver, getComponentMetadata, getConversionService, getTaskScheduler, setBeanFactory, setBeanName, setConversionService, setTaskScheduler, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExpressionEvaluatingRouter(java.lang.String expression)
Method Detail |
---|
public final void onInit()
IntegrationObjectSupport
onInit
in class AbstractChannelNameResolvingMessageRouter
protected java.util.List<java.lang.Object> getChannelIndicatorList(Message<?> message)
AbstractChannelNameResolvingMessageRouter
getChannelIndicatorList
in class AbstractChannelNameResolvingMessageRouter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |