类的使用
org.springframework.messaging.handler.invocation.InvocableHandlerMethod
使用InvocableHandlerMethod的程序包 程序包 说明 org.springframework.jms.listener.adapter Message listener adapter mechanism that delegates to target listener methods, converting messages to appropriate message content types (such as String or byte array) that get passed into listener methods.org.springframework.messaging.handler.annotation.support Support classes for working with annotated message-handling methods.org.springframework.messaging.handler.invocation Common infrastructure for invoking message handler methods.org.springframework.jms.listener.adapter中InvocableHandlerMethod的使用
参数类型为InvocableHandlerMethod的org.springframework.jms.listener.adapter中的方法 修饰符和类型 方法 说明 void
MessagingMessageListenerAdapter. setHandlerMethod(InvocableHandlerMethod handlerMethod)
Set theInvocableHandlerMethod
to use to invoke the method processing an incomingMessage
.org.springframework.messaging.handler.annotation.support中InvocableHandlerMethod的使用
返回InvocableHandlerMethod的org.springframework.messaging.handler.annotation.support中的方法 修饰符和类型 方法 说明 InvocableHandlerMethod
DefaultMessageHandlerMethodFactory. createInvocableHandlerMethod(Object bean, Method method)
InvocableHandlerMethod
MessageHandlerMethodFactory. createInvocableHandlerMethod(Object bean, Method method)
Create theInvocableHandlerMethod
that is able to process the specified method endpoint.org.springframework.messaging.handler.invocation中InvocableHandlerMethod的使用
返回InvocableHandlerMethod的org.springframework.messaging.handler.invocation中的方法 修饰符和类型 方法 说明 protected InvocableHandlerMethod
AbstractMethodMessageHandler. getExceptionHandlerMethod(HandlerMethod handlerMethod, Exception exception)
Find an@MessageExceptionHandler
method for the given exception.