com.github.fridujo.rabbitmq.mock.Receiver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rabbitmq-mock Show documentation
Show all versions of rabbitmq-mock Show documentation
Mock for RabbitMQ Java amqp-client
package com.github.fridujo.rabbitmq.mock;
import com.rabbitmq.client.AMQP;
/**
* Leverage the receiving capability of both Queues and Exchanges.
*/
public interface Receiver {
String X_MATCH_KEY = "x-match";
void publish(String exchangeName, String routingKey, AMQP.BasicProperties props, byte[] body);
ReceiverPointer pointer();
}