public abstract class BindableMockExchange extends Object implements MockExchange
| Modifier and Type | Class and Description |
|---|---|
static class |
BindableMockExchange.BindConfiguration |
| Modifier and Type | Field and Description |
|---|---|
protected Set<BindableMockExchange.BindConfiguration> |
bindConfigurations |
X_MATCH_KEY| Modifier | Constructor and Description |
|---|---|
protected |
BindableMockExchange(String name,
String type,
AmqArguments arguments,
ReceiverRegistry receiverRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(ReceiverPointer receiver,
String routingKey,
Map<String,Object> arguments) |
String |
getType() |
protected abstract Stream<ReceiverPointer> |
matchingReceivers(String routingKey,
com.rabbitmq.client.AMQP.BasicProperties props) |
ReceiverPointer |
pointer() |
boolean |
publish(String previousExchangeName,
String routingKey,
com.rabbitmq.client.AMQP.BasicProperties props,
byte[] body) |
String |
toString() |
void |
unbind(ReceiverPointer receiver,
String routingKey,
Map<String,Object> arguments) |
protected final Set<BindableMockExchange.BindConfiguration> bindConfigurations
protected BindableMockExchange(String name, String type, AmqArguments arguments, ReceiverRegistry receiverRegistry)
public String getType()
getType in interface MockExchangepublic boolean publish(String previousExchangeName, String routingKey, com.rabbitmq.client.AMQP.BasicProperties props, byte[] body)
protected abstract Stream<ReceiverPointer> matchingReceivers(String routingKey, com.rabbitmq.client.AMQP.BasicProperties props)
public void bind(ReceiverPointer receiver, String routingKey, Map<String,Object> arguments)
bind in interface MockExchangepublic void unbind(ReceiverPointer receiver, String routingKey, Map<String,Object> arguments)
unbind in interface MockExchangepublic ReceiverPointer pointer()
Copyright © 2022. All rights reserved.