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

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

There is a newer version: 1.2.0
Show newest version
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy