Class MultipleReceiverExchange
- java.lang.Object
-
- com.github.fridujo.rabbitmq.mock.exchange.BindableMockExchange
-
- com.github.fridujo.rabbitmq.mock.exchange.MultipleReceiverExchange
-
- All Implemented Interfaces:
MockExchange,Receiver
- Direct Known Subclasses:
MockDirectExchange,MockFanoutExchange,MockHeadersExchange,MockTopicExchange
public abstract class MultipleReceiverExchange 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 protectedMultipleReceiverExchange(String name, String type, AmqArguments arguments, ReceiverRegistry receiverRegistry)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract booleanmatch(BindableMockExchange.BindConfiguration bindConfiguration, String routingKey, Map<String,Object> headers)protected Stream<ReceiverPointer>matchingReceivers(String routingKey, com.rabbitmq.client.AMQP.BasicProperties props)
-
-
-
Constructor Detail
-
MultipleReceiverExchange
protected MultipleReceiverExchange(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
-
match
protected abstract boolean match(BindableMockExchange.BindConfiguration bindConfiguration, String routingKey, Map<String,Object> headers)
-
-