Class AbstractMethodMessageHandler<T>

java.lang.Object
org.springframework.messaging.handler.invocation.AbstractMethodMessageHandler<T>
Type Parameters:
T - the type of the Object that contains information mapping a HandlerMethod to incoming messages
All Implemented Interfaces:
Aware, InitializingBean, ApplicationContextAware, MessageHandler
Direct Known Subclasses:
SimpAnnotationMethodMessageHandler

public abstract class AbstractMethodMessageHandler<T> extends Object implements MessageHandler, ApplicationContextAware, InitializingBean
Abstract base class for HandlerMethod-based message handling. Provides most of the logic required to discover handler methods at startup, find a matching handler method at runtime for a given message and invoke it.

Also supports discovering and invoking exception handling methods to process exceptions raised during message handling.

Since:
4.0
Author:
Rossen Stoyanchev, Juergen Hoeller