Interface ProducerMessageHandlerCustomizer<H extends org.springframework.messaging.MessageHandler>

Type Parameters:
H - MessageHandler 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 ProducerMessageHandlerCustomizer<H extends org.springframework.messaging.MessageHandler>
If a single bean of this type is in the application context, a producing message handler 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:
Artem Bilan
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(H handler, String destinationName)
    Configure a MessageHandler that is being created by the binder for the provided destination name.
  • Method Details

    • configure

      void configure(H handler, String destinationName)
      Configure a MessageHandler that is being created by the binder for the provided destination name.
      Parameters:
      handler - the MessageHandler from the binder.
      destinationName - the bound destination name.