dev.snowdrop.vertx.amqp.AmqpSender Maven / Gradle / Ivy
package dev.snowdrop.vertx.amqp;
import java.util.function.Consumer;
import dev.snowdrop.vertx.streams.WriteStream;
import reactor.core.publisher.Mono;
public interface AmqpSender extends WriteStream {
AmqpSender exceptionHandler(Consumer handler);
AmqpSender drainHandler(Consumer handler);
AmqpSender setWriteQueueMaxSize(int maxSize);
AmqpSender send(AmqpMessage message);
Mono sendWithAck(AmqpMessage message);
AmqpConnection connection();
String address();
Mono close();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy