Class SingleReceiverExchange
- java.lang.Object
-
- com.github.fridujo.rabbitmq.mock.exchange.BindableMockExchange
-
- com.github.fridujo.rabbitmq.mock.exchange.SingleReceiverExchange
-
- All Implemented Interfaces:
MockExchange,Receiver
- Direct Known Subclasses:
ConsistentHashExchange
public abstract class SingleReceiverExchange extends BindableMockExchange
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.fridujo.rabbitmq.mock.exchange.BindableMockExchange
BindableMockExchange.BindConfiguration
-
-
Field Summary
-
Fields inherited from class com.github.fridujo.rabbitmq.mock.exchange.BindableMockExchange
bindConfigurations
-
Fields inherited from interface com.github.fridujo.rabbitmq.mock.Receiver
X_MATCH_KEY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSingleReceiverExchange(String name, String type, AmqArguments arguments, ReceiverRegistry receiverRegistry)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected Stream<ReceiverPointer>matchingReceivers(String routingKey, com.rabbitmq.client.AMQP.BasicProperties props)protected abstract Optional<ReceiverPointer>selectReceiver(String routingKey, com.rabbitmq.client.AMQP.BasicProperties props)
-
-
-
Constructor Detail
-
SingleReceiverExchange
protected SingleReceiverExchange(String name, String type, AmqArguments arguments, ReceiverRegistry receiverRegistry)
-
-
Method Detail
-
matchingReceivers
protected Stream<ReceiverPointer> matchingReceivers(String routingKey, com.rabbitmq.client.AMQP.BasicProperties props)
- Specified by:
matchingReceiversin classBindableMockExchange
-
selectReceiver
protected abstract Optional<ReceiverPointer> selectReceiver(String routingKey, com.rabbitmq.client.AMQP.BasicProperties props)
-
-