Interface ConsumerEndpointCustomizer<E extends org.springframework.integration.core.MessageProducer>

  • Type Parameters:
    E - MessageProducer 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 ConsumerEndpointCustomizer<E extends org.springframework.integration.core.MessageProducer>
    If a single bean of this type is in the application context, an inbound channel adapter created by the binder can be further customized after all the properties are set. For example, to configure less-common properties.
    Since:
    3.0
    Author:
    Gary Russell
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void configure​(E endpoint, String destinationName, String group)
      Configure a MessageProducer that is being created by the binder for the provided destination name and group.
    • Method Detail

      • configure

        void configure​(E endpoint,
                       String destinationName,
                       String group)
        Configure a MessageProducer that is being created by the binder for the provided destination name and group.
        Parameters:
        endpoint - the MessageProducer from the binder.
        destinationName - the bound destination name.
        group - the group.