public class ConsistentHashExchange extends SingleReceiverExchange
See https://github.com/rabbitmq/rabbitmq-consistent-hash-exchange.
| Modifier and Type | Class and Description |
|---|---|
static class |
ConsistentHashExchange.Bucket |
BindableMockExchange.BindConfiguration| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
bindConfigurationsX_MATCH_KEY| Constructor and Description |
|---|
ConsistentHashExchange(String name,
AmqArguments arguments,
ReceiverRegistry receiverRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(ReceiverPointer receiver,
String routingKey,
Map<String,Object> arguments) |
protected Optional<ReceiverPointer> |
selectReceiver(String routingKey,
com.rabbitmq.client.AMQP.BasicProperties props) |
void |
unbind(ReceiverPointer receiver,
String routingKey,
Map<String,Object> arguments) |
matchingReceiversgetType, pointer, publish, toStringpublic static final String TYPE
public ConsistentHashExchange(String name, AmqArguments arguments, ReceiverRegistry receiverRegistry)
protected Optional<ReceiverPointer> selectReceiver(String routingKey, com.rabbitmq.client.AMQP.BasicProperties props)
selectReceiver in class SingleReceiverExchangepublic void bind(ReceiverPointer receiver, String routingKey, Map<String,Object> arguments)
bind in interface MockExchangebind in class BindableMockExchangepublic void unbind(ReceiverPointer receiver, String routingKey, Map<String,Object> arguments)
unbind in interface MockExchangeunbind in class BindableMockExchangeCopyright © 2022. All rights reserved.