public class MockTopicExchange extends MultipleReceiverExchange
BindableMockExchange.BindConfiguration| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
bindConfigurationsX_MATCH_KEY| Constructor and Description |
|---|
MockTopicExchange(String name,
AmqArguments arguments,
ReceiverRegistry receiverRegistry) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
match(BindableMockExchange.BindConfiguration bindConfiguration,
String routingKey,
Map<String,Object> headers)
|
matchingReceiverspublic static final String TYPE
public MockTopicExchange(String name, AmqArguments arguments, ReceiverRegistry receiverRegistry)
protected boolean match(BindableMockExchange.BindConfiguration bindConfiguration, String routingKey, Map<String,Object> headers)
sharp / hash character substitutes to zero or more words
An easy thought representation of routing keys is a list of words, words being separated by dots, and topic exchange binding keys an description of this kind of list.
Considering the key some.#.key.*, all these keys can match:
match in class MultipleReceiverExchangeCopyright © 2022. All rights reserved.