public class NoOpStubMessages extends Object implements MessageVerifier<Object>
Constructor and Description |
---|
NoOpStubMessages() |
Modifier and Type | Method and Description |
---|---|
Object |
receive(String destination)
Receives the message from the given destination.
|
Object |
receive(String destination,
long timeout,
TimeUnit timeUnit)
Receives the message from the given destination.
|
void |
send(Object 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.
|
public void send(Object message, String destination)
MessageVerifier
send
in interface MessageVerifier<Object>
public <T> void send(T payload, Map<String,Object> headers, String destination)
MessageVerifier
send
in interface MessageVerifier<Object>
public Object receive(String destination, long timeout, TimeUnit timeUnit)
MessageVerifier
receive
in interface MessageVerifier<Object>
public Object receive(String destination)
MessageVerifier
receive
in interface MessageVerifier<Object>
Copyright © 2016–2019 Spring. All rights reserved.