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

com.github.fridujo.rabbitmq.mock.Receiver Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
package com.github.fridujo.rabbitmq.mock;

import com.rabbitmq.client.AMQP;

/**
 * Leverage the receiving capability of both Queues and Exchanges.
 */
interface Receiver {
    String ALTERNATE_EXCHANGE_KEY = "alternate-exchange";
    String DEAD_LETTER_EXCHANGE_KEY = "x-dead-letter-exchange";
    String X_MATCH_KEY = "x-match";

    void publish(String exchangeName, String routingKey, AMQP.BasicProperties props, byte[] body);

    ReceiverPointer pointer();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy