Renamed RootCauseErrorMessageRouter to the more appropriate ErrorMessageExceptionTypeRouter (the routing is actually based on the most-specific Exception type available in the exceptionTypeChannelMap).
This commit is contained in:
@@ -30,7 +30,7 @@ import org.springframework.util.Assert;
|
||||
*
|
||||
* @author Mark Fisher
|
||||
*/
|
||||
public class RootCauseErrorMessageRouter extends AbstractSingleChannelRouter {
|
||||
public class ErrorMessageExceptionTypeRouter extends AbstractSingleChannelRouter {
|
||||
|
||||
private volatile Map<Class<? extends Throwable>, MessageChannel> exceptionTypeChannelMap =
|
||||
new ConcurrentHashMap<Class<? extends Throwable>, MessageChannel>();
|
||||
Reference in New Issue
Block a user