Class ErrorMessageExceptionTypeRouter

All Implemented Interfaces:
org.reactivestreams.Subscriber<org.springframework.messaging.Message<?>>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.core.Ordered, ExpressionCapable, Orderable, IntegrationPattern, MessageRouter, NamedComponent, IntegrationManagement, MappingMessageRouterManagement, TrackableComponent, org.springframework.messaging.MessageHandler, reactor.core.CoreSubscriber<org.springframework.messaging.Message<?>>

public class ErrorMessageExceptionTypeRouter
extends AbstractMappingMessageRouter
A Message Router that resolves the target MessageChannel for messages whose payload is a Throwable. The channel resolution is based upon the most specific cause of the error for which a channel-mapping exists.

The channel-mapping can be specified for the super classes to avoid mapping duplication for the particular exception implementation.