Class MultiMethodRabbitListenerEndpoint

All Implemented Interfaces:
RabbitListenerEndpoint, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware

public class MultiMethodRabbitListenerEndpoint extends MethodRabbitListenerEndpoint
Since:
1.5
  • Constructor Details

    • MultiMethodRabbitListenerEndpoint

      public MultiMethodRabbitListenerEndpoint(List<Method> methods, @Nullable Method defaultMethod, Object bean)
      Construct an instance for the provided methods, default method and bean.
      Parameters:
      methods - the methods.
      defaultMethod - the default method.
      bean - the bean.
      Since:
      2.0.3
  • Method Details

    • setValidator

      public void setValidator(org.springframework.validation.Validator validator)
      Set a payload validator.
      Parameters:
      validator - the validator.
      Since:
      2.3.7
    • configureListenerAdapter

      protected org.springframework.amqp.listener.adapter.HandlerAdapter configureListenerAdapter(MessagingMessageListenerAdapter messageListener)
      Description copied from class: MethodRabbitListenerEndpoint
      Create a HandlerAdapter for this listener adapter.
      Overrides:
      configureListenerAdapter in class MethodRabbitListenerEndpoint
      Parameters:
      messageListener - the listener adapter.
      Returns:
      the handler adapter.