Interface ListenerContainerCustomizer<T>

Type Parameters:
T - container type
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 ListenerContainerCustomizer<T>
If a single bean of this type is in the application context, listener containers created by the binder can be further customized after all the properties are set. For example, to configure less-common properties.
Since:
2.1
Author:
Gary Russell, Oleg Zhurakousky
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(T container, String destinationName, String group)
    Configure the container that is being created for the supplied queue name and consumer group.
  • Method Details

    • configure

      void configure(T container, String destinationName, String group)
      Configure the container that is being created for the supplied queue name and consumer group.
      Parameters:
      container - the container.
      destinationName - the destination name.
      group - the consumer group.