接口的使用
org.springframework.messaging.handler.annotation.support.MessageHandlerMethodFactory
使用MessageHandlerMethodFactory的程序包 程序包 说明 org.springframework.jms.annotation Annotations and support classes for declarative JMS listener endpoints.org.springframework.jms.config Support package for declarative messaging configuration, with Java configuration and XML schema support.org.springframework.messaging.handler.annotation.support Support classes for working with annotated message-handling methods.org.springframework.jms.annotation中MessageHandlerMethodFactory的使用
参数类型为MessageHandlerMethodFactory的org.springframework.jms.annotation中的方法 修饰符和类型 方法 说明 void
JmsListenerAnnotationBeanPostProcessor. setMessageHandlerMethodFactory(MessageHandlerMethodFactory messageHandlerMethodFactory)
Set theMessageHandlerMethodFactory
to use to configure the message listener responsible to serve an endpoint detected by this processor.org.springframework.jms.config中MessageHandlerMethodFactory的使用
返回MessageHandlerMethodFactory的org.springframework.jms.config中的方法 修饰符和类型 方法 说明 MessageHandlerMethodFactory
JmsListenerEndpointRegistrar. getMessageHandlerMethodFactory()
Return the customMessageHandlerMethodFactory
to use, if any.参数类型为MessageHandlerMethodFactory的org.springframework.jms.config中的方法 修饰符和类型 方法 说明 void
JmsListenerEndpointRegistrar. setMessageHandlerMethodFactory(MessageHandlerMethodFactory messageHandlerMethodFactory)
Set theMessageHandlerMethodFactory
to use to configure the message listener responsible to serve an endpoint detected by this processor.void
MethodJmsListenerEndpoint. setMessageHandlerMethodFactory(MessageHandlerMethodFactory messageHandlerMethodFactory)
Set theMessageHandlerMethodFactory
to use to build theInvocableHandlerMethod
responsible to manage the invocation of this endpoint.org.springframework.messaging.handler.annotation.support中MessageHandlerMethodFactory的使用
实现MessageHandlerMethodFactory的org.springframework.messaging.handler.annotation.support中的类 修饰符和类型 类 说明 class
DefaultMessageHandlerMethodFactory
The defaultMessageHandlerMethodFactory
implementation creating anInvocableHandlerMethod
with the necessaryHandlerMethodArgumentResolver
instances to detect and process most of the use cases defined byMessageMapping
.