com.github.fridujo.rabbitmq.mock.MockDirectExchange 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 java.util.Map;
public class MockDirectExchange extends BindableMockExchange {
public MockDirectExchange(String name, Map arguments, ReceiverRegistry receiverRegistry) {
super(name, arguments, receiverRegistry);
}
@Override
protected boolean match(String bindingKey, Map bindArguments, String routingKey, Map headers) {
return bindingKey.equals(routingKey);
}
}