Interface SqsListenerConfigurer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SqsListenerConfigurer
Beans implementing this interface can configure the EndpointRegistrar instance used to process Endpoint instances and change general settings for processing all SqsListener annotations.
Since:
3.0
Author:
Tomaz Fernandes
See Also:
  • Method Details

    • configure

      void configure(EndpointRegistrar registrar)
      Configures the EndpointRegistrar instance that will handle the Endpoint instances.

      Example:

       @Bean
       SqsListenerConfigurer sqsListenerConfigurer() {
              return registrar -> registrar.manageArgumentResolvers(resolvers -> {
                      resolvers.add(new MyCustomArgumentResolver());
              });
       }
       
      Parameters:
      registrar - the registrar instance.