类的使用
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中的方法 修饰符和类型 方法 说明 voidMessagingMessageListenerAdapter. setHandlerMethod(InvocableHandlerMethod handlerMethod)Set theInvocableHandlerMethodto use to invoke the method processing an incomingMessage.org.springframework.messaging.handler.annotation.support中InvocableHandlerMethod的使用
返回InvocableHandlerMethod的org.springframework.messaging.handler.annotation.support中的方法 修饰符和类型 方法 说明 InvocableHandlerMethodDefaultMessageHandlerMethodFactory. createInvocableHandlerMethod(Object bean, Method method)InvocableHandlerMethodMessageHandlerMethodFactory. createInvocableHandlerMethod(Object bean, Method method)Create theInvocableHandlerMethodthat is able to process the specified method endpoint.org.springframework.messaging.handler.invocation中InvocableHandlerMethod的使用
返回InvocableHandlerMethod的org.springframework.messaging.handler.invocation中的方法 修饰符和类型 方法 说明 protected InvocableHandlerMethodAbstractMethodMessageHandler. getExceptionHandlerMethod(HandlerMethod handlerMethod, Exception exception)Find an@MessageExceptionHandlermethod for the given exception.