|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.integration.handler.AbstractMessageHandler org.springframework.integration.router.AbstractMessageRouter org.springframework.integration.router.AbstractChannelNameResolvingMessageRouter org.springframework.integration.router.HeaderValueRouter
public class HeaderValueRouter
A Message Router that resolves the MessageChannel from a header value.
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 | |
---|---|
HeaderValueRouter(java.lang.String headerName)
Create a router that uses the provided header name to lookup a channel. |
Method Summary | |
---|---|
protected java.util.List<java.lang.Object> |
getChannelIndicatorList(Message<?> message)
Subclasses must implement this method to return the channel indicators. |
Methods inherited from class org.springframework.integration.router.AbstractChannelNameResolvingMessageRouter |
---|
addChannelFromString, addToCollection, afterPropertiesSet, determineTargetChannels, resolveChannelForName, setBeanFactory, setChannelResolver, setIgnoreChannelNameResolutionFailures, setPrefix, setSuffix |
Methods inherited from class org.springframework.integration.router.AbstractMessageRouter |
---|
handleMessageInternal, setDefaultOutputChannel, setResolutionRequired, setTimeout |
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler |
---|
getOrder, handleMessage, setOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeaderValueRouter(java.lang.String headerName)
Method Detail |
---|
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 |