|
|||||||||
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.ErrorMessageExceptionTypeRouter
public class ErrorMessageExceptionTypeRouter
A Message Router that resolves the target MessageChannel
for
messages whose payload is an Exception. The channel resolution is based upon
the most specific cause of the error for which a channel-mapping exists.
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 | |
---|---|
ErrorMessageExceptionTypeRouter()
|
Method Summary | |
---|---|
protected MessageChannel |
determineTargetChannel(Message<?> message)
Subclasses must implement this method to return the target channel. |
void |
setExceptionTypeChannelMap(java.util.Map<java.lang.Class<? extends java.lang.Throwable>,MessageChannel> exceptionTypeChannelMap)
|
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, setOrder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ErrorMessageExceptionTypeRouter()
Method Detail |
---|
public void setExceptionTypeChannelMap(java.util.Map<java.lang.Class<? extends java.lang.Throwable>,MessageChannel> exceptionTypeChannelMap)
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 |