Class KotlinAwareInvocableHandlerMethod

java.lang.Object
org.springframework.messaging.handler.HandlerMethod
org.springframework.messaging.handler.invocation.InvocableHandlerMethod
org.springframework.amqp.rabbit.listener.adapter.KotlinAwareInvocableHandlerMethod

public class KotlinAwareInvocableHandlerMethod extends org.springframework.messaging.handler.invocation.InvocableHandlerMethod
An InvocableHandlerMethod extension for supporting Kotlin suspend function.
Since:
3.0.5
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.springframework.messaging.handler.HandlerMethod

    org.springframework.messaging.handler.HandlerMethod.HandlerMethodParameter
  • Field Summary

    Fields inherited from class org.springframework.messaging.handler.HandlerMethod

    defaultLogger, logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
    doInvoke(Object... args)
     

    Methods inherited from class org.springframework.messaging.handler.invocation.InvocableHandlerMethod

    getMethodArgumentValues, invoke, setMessageMethodArgumentResolvers, setParameterNameDiscoverer

    Methods inherited from class org.springframework.messaging.handler.HandlerMethod

    assertTargetBean, createWithResolvedBean, equals, findProvidedArgument, formatArgumentError, formatInvokeError, getBean, getBeanType, getBridgedMethod, getLogger, getMethod, getMethodAnnotation, getMethodParameters, getResolvedFromHandlerMethod, getReturnType, getReturnValueType, getShortLogMessage, hashCode, hasMethodAnnotation, isVoid, setLogger, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • KotlinAwareInvocableHandlerMethod

      public KotlinAwareInvocableHandlerMethod(Object bean, Method method)
  • Method Details

    • doInvoke

      protected Object doInvoke(Object... args) throws Exception
      Overrides:
      doInvoke in class org.springframework.messaging.handler.invocation.InvocableHandlerMethod
      Throws:
      Exception