public class MockDefaultExchange extends Object implements MockExchange
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static String |
TYPE |
X_MATCH_KEY| Constructor and Description |
|---|
MockDefaultExchange(MockNode mockNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind(ReceiverPointer receiver,
String routingKey,
Map<String,Object> arguments) |
String |
getType() |
ReceiverPointer |
pointer() |
boolean |
publish(String previousExchangeName,
String routingKey,
com.rabbitmq.client.AMQP.BasicProperties props,
byte[] body) |
void |
unbind(ReceiverPointer pointer,
String routingKey,
Map<String,Object> arguments) |
public static final String TYPE
public static final String NAME
public MockDefaultExchange(MockNode mockNode)
public boolean publish(String previousExchangeName, String routingKey, com.rabbitmq.client.AMQP.BasicProperties props, byte[] body)
public String getType()
getType in interface MockExchangepublic void bind(ReceiverPointer receiver, String routingKey, Map<String,Object> arguments)
bind in interface MockExchangepublic void unbind(ReceiverPointer pointer, String routingKey, Map<String,Object> arguments)
unbind in interface MockExchangepublic ReceiverPointer pointer()
Copyright © 2022. All rights reserved.