M
- message typepublic interface MessageVerifierReceiver<M>
Modifier and Type | Method and Description |
---|---|
default M |
receive(String destination)
Receives the message from the given destination.
|
default M |
receive(String destination,
long timeout,
TimeUnit timeUnit)
Receives the message from the given destination.
|
M |
receive(String destination,
long timeout,
TimeUnit timeUnit,
YamlContract contract)
Receives the message from the given destination.
|
M |
receive(String destination,
YamlContract contract)
Receives the message from the given destination.
|
default 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 timeoutdefault M receive(String destination)
destination
- destination from which the message will be receivedM receive(String destination, long timeout, TimeUnit timeUnit, @Nullable YamlContract contract)
destination
- destination from which the message will be receivedtimeout
- timeout to wait for the messagetimeUnit
- param to define the unit of timeoutcontract
- contract related to this methodM receive(String destination, YamlContract contract)
destination
- destination from which the message will be receivedcontract
- contract related to this methodCopyright © 2016–2022 Spring. All rights reserved.