Class DefaultMessageHandlerMethodFactory

java.lang.Object
org.springframework.messaging.handler.annotation.support.DefaultMessageHandlerMethodFactory
All Implemented Interfaces:
Aware, BeanFactoryAware, InitializingBean, MessageHandlerMethodFactory

public class DefaultMessageHandlerMethodFactory extends Object implements MessageHandlerMethodFactory, BeanFactoryAware, InitializingBean
The default MessageHandlerMethodFactory implementation creating an InvocableHandlerMethod with the necessary HandlerMethodArgumentResolver instances to detect and process most of the use cases defined by MessageMapping.

Extra method argument resolvers can be added to customize the method signature that can be handled.

By default, the validation process redirects to a no-op implementation, see setValidator(Validator) to customize it. The ConversionService can be customized in a similar manner to tune how the message payload can be converted

Since:
4.1
Author:
Stephane Nicoll, Juergen Hoeller
See Also: