public interface MessageVerifier<M>
Modifier and Type | Method and Description |
---|---|
M |
receive(String destination)
Receives the message from the given destination.
|
M |
receive(String destination,
long timeout,
TimeUnit timeUnit)
Receives the message from the given destination.
|
void |
send(M message,
String destination)
Sends the message to the given destination.
|
<T> void |
send(T payload,
Map<String,Object> headers,
String destination)
Sends the given payload with headers, to the given destination.
|
<T> void send(T payload, Map<String,Object> headers, String destination)
M receive(String destination, long timeout, TimeUnit timeUnit)
Copyright © 2016 Spring. All rights reserved.