Class DelegatingInvocableHandler

java.lang.Object
org.springframework.amqp.listener.adapter.DelegatingInvocableHandler
org.springframework.amqp.rabbit.listener.adapter.DelegatingInvocableHandler

@Deprecated(since="4.1", forRemoval=true) public class DelegatingInvocableHandler extends org.springframework.amqp.listener.adapter.DelegatingInvocableHandler
Deprecated, for removal: This API element is subject to removal in a future version.
since 2.2 in favor of MessagingMessageListenerAdapter.
Delegates to an InvocableHandlerMethod based on the message payload type. Matches a single, non-annotated parameter or one that is annotated with Payload. Matches must be unambiguous.
Since:
1.5
  • Constructor Summary

    Constructors
    Constructor
    Description
    DelegatingInvocableHandler(List<org.springframework.messaging.handler.invocation.InvocableHandlerMethod> handlers, Object bean, org.springframework.beans.factory.config.BeanExpressionResolver beanExpressionResolver, org.springframework.beans.factory.config.BeanExpressionContext beanExpressionContext)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Construct an instance with the supplied handlers for the bean.
    DelegatingInvocableHandler(List<org.springframework.messaging.handler.invocation.InvocableHandlerMethod> handlers, @Nullable org.springframework.messaging.handler.invocation.InvocableHandlerMethod defaultHandler, Object bean, @Nullable org.springframework.beans.factory.config.BeanExpressionResolver beanExpressionResolver, @Nullable org.springframework.beans.factory.config.BeanExpressionContext beanExpressionContext, @Nullable org.springframework.validation.Validator validator)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Construct an instance with the supplied handlers for the bean.
    DelegatingInvocableHandler(List<org.springframework.messaging.handler.invocation.InvocableHandlerMethod> handlers, @Nullable org.springframework.messaging.handler.invocation.InvocableHandlerMethod defaultHandler, Object bean, org.springframework.beans.factory.config.BeanExpressionResolver beanExpressionResolver, org.springframework.beans.factory.config.BeanExpressionContext beanExpressionContext)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Construct an instance with the supplied handlers for the bean.
  • Method Summary

    Methods inherited from class org.springframework.amqp.listener.adapter.DelegatingInvocableHandler

    findHandlerForPayload, getBean, getHandlerForPayload, getInvocationResultFor, getMethodFor, getMethodNameFor, hasDefaultHandler, invoke, isAsyncReplies, matchHandlerMethod

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DelegatingInvocableHandler

      public DelegatingInvocableHandler(List<org.springframework.messaging.handler.invocation.InvocableHandlerMethod> handlers, Object bean, org.springframework.beans.factory.config.BeanExpressionResolver beanExpressionResolver, org.springframework.beans.factory.config.BeanExpressionContext beanExpressionContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct an instance with the supplied handlers for the bean.
      Parameters:
      handlers - the handlers.
      bean - the bean.
      beanExpressionResolver - the resolver.
      beanExpressionContext - the context.
    • DelegatingInvocableHandler

      public DelegatingInvocableHandler(List<org.springframework.messaging.handler.invocation.InvocableHandlerMethod> handlers, @Nullable org.springframework.messaging.handler.invocation.InvocableHandlerMethod defaultHandler, Object bean, org.springframework.beans.factory.config.BeanExpressionResolver beanExpressionResolver, org.springframework.beans.factory.config.BeanExpressionContext beanExpressionContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct an instance with the supplied handlers for the bean.
      Parameters:
      handlers - the handlers.
      defaultHandler - the default handler.
      bean - the bean.
      beanExpressionResolver - the resolver.
      beanExpressionContext - the context.
      Since:
      2.0.3
    • DelegatingInvocableHandler

      public DelegatingInvocableHandler(List<org.springframework.messaging.handler.invocation.InvocableHandlerMethod> handlers, @Nullable org.springframework.messaging.handler.invocation.InvocableHandlerMethod defaultHandler, Object bean, @Nullable org.springframework.beans.factory.config.BeanExpressionResolver beanExpressionResolver, @Nullable org.springframework.beans.factory.config.BeanExpressionContext beanExpressionContext, @Nullable org.springframework.validation.Validator validator)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Construct an instance with the supplied handlers for the bean.
      Parameters:
      handlers - the handlers.
      defaultHandler - the default handler.
      bean - the bean.
      beanExpressionResolver - the resolver.
      beanExpressionContext - the context.
      validator - the validator.
      Since:
      2.0.3