Package com.github.fridujo.rabbitmq.mock
Interface Receiver
-
- All Known Subinterfaces:
MockExchange
- All Known Implementing Classes:
BindableMockExchange,ConsistentHashExchange,MockDefaultExchange,MockDirectExchange,MockFanoutExchange,MockHeadersExchange,MockQueue,MockTopicExchange,MultipleReceiverExchange,SingleReceiverExchange
public interface ReceiverLeverage the receiving capability of both Queues and Exchanges.
-
-
Field Summary
Fields Modifier and Type Field Description static StringX_MATCH_KEY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReceiverPointerpointer()booleanpublish(String exchangeName, String routingKey, com.rabbitmq.client.AMQP.BasicProperties props, byte[] body)
-
-
-
Field Detail
-
X_MATCH_KEY
static final String X_MATCH_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
publish
boolean publish(String exchangeName, String routingKey, com.rabbitmq.client.AMQP.BasicProperties props, byte[] body)
- Returns:
- true if message got routed, false otherwise
-
pointer
ReceiverPointer pointer()
-
-