Class AloRabbitMQSender<T>

  • Type Parameters:
    T - outbound message body type (to be serialized)
    All Implemented Interfaces:
    Closeable, AutoCloseable

    public class AloRabbitMQSender<T>
    extends Object
    implements Closeable
    A reactive RabbitMQ sender with at-least-once semantics for producing messages to exchanges in a RabbitMQ cluster

    At most one instance of a Sender is kept and can be closed upon invoking close(). However, if after closing, more sent Publishers are subscribed to, a new Sender instance will be created and cached.