io.elastic.sailor.AmqpService Maven / Gradle / Ivy
package io.elastic.sailor;
import com.rabbitmq.client.AMQP;
import io.elastic.api.Message;
import io.elastic.api.Module;
public interface AmqpService {
void connect();
void disconnect();
void subscribeConsumer(Module module);
void cancelConsumer();
void sendData(byte[] payload, AMQP.BasicProperties options);
void sendHttpReply(byte[] payload, AMQP.BasicProperties options);
void sendError(Throwable e, AMQP.BasicProperties options, Message originalMessage);
void sendRebound(byte[] payload, AMQP.BasicProperties options);
void sendSnapshot(byte[] payload, AMQP.BasicProperties options);
void ack(Long deliveryTag);
void reject(Long deliveryTag);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy