M
- message typepublic interface MessageVerifierReceiver<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.
|
M receive(String destination, long timeout, TimeUnit timeUnit)
destination
- destination from which the message will be receivedtimeout
- timeout to wait for the messagetimeUnit
- param to define the unit of timeoutCopyright © 2016–2021 Spring. All rights reserved.