All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.elastic.sailor.AmqpService Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
package io.elastic.sailor;

import com.rabbitmq.client.Connection;
import io.elastic.api.Function;

public interface AmqpService {

    void connectAndSubscribe();

    void disconnect();

    void subscribeConsumer(Function function);

    void cancelConsumer();

    void ack(Long deliveryTag);

    void reject(Long deliveryTag);

    Connection getConnection();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy