- All Superinterfaces:
- java.util.function.BiConsumer<java.lang.String,com.rabbitmq.stream.ProducerBuilder>
- 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 ProducerCustomizer
extends java.util.function.BiConsumer<java.lang.String,com.rabbitmq.stream.ProducerBuilder>
Called to enable customization of the ProducerBuilder when a new producer is
created. The first parameter should be the bean name of the component that calls this
customizer. Refer to the RabbitMQ Stream Java Client for customization options.
- Since:
- 2.4