|
|||||||||
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.AbstractSingleChannelRouter org.springframework.integration.router.PayloadTypeRouter
public class PayloadTypeRouter
A Message Router that resolves the MessageChannel
based on the
Message's
payload type.
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 | |
---|---|
PayloadTypeRouter()
|
Method Summary | |
---|---|
protected MessageChannel |
determineTargetChannel(Message<?> message)
Subclasses must implement this method to return the target channel. |
void |
setPayloadTypeChannelMap(java.util.Map<java.lang.Class<?>,MessageChannel> payloadTypeChannelMap)
|
Methods inherited from class org.springframework.integration.router.AbstractSingleChannelRouter |
---|
determineTargetChannels |
Methods inherited from class org.springframework.integration.router.AbstractMessageRouter |
---|
handleMessageInternal, setDefaultOutputChannel, setResolutionRequired, setTimeout |
Methods inherited from class org.springframework.integration.handler.AbstractMessageHandler |
---|
getOrder, handleMessage, resolveReplyChannel, setOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PayloadTypeRouter()
Method Detail |
---|
public void setPayloadTypeChannelMap(java.util.Map<java.lang.Class<?>,MessageChannel> payloadTypeChannelMap)
protected MessageChannel determineTargetChannel(Message<?> message)
AbstractSingleChannelRouter
determineTargetChannel
in class AbstractSingleChannelRouter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |