Interface MessageSourceCustomizer<T>

Type Parameters:
T - MessageSource 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 MessageSourceCustomizer<T>
If a single bean of this type is in the application context, pollable message sources created by the binder can be further customized after all the properties are set. For example, to configure less-common properties.
Since:
2.2
Author:
Gary Russell
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(T source, 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 source, String destinationName, String group)
      Configure the container that is being created for the supplied queue name and consumer group.
      Parameters:
      source - the MessageSource.
      destinationName - the destination name.
      group - the consumer group.