Modifier and Type | Method and Description |
---|---|
List<YamlContract> |
YamlContractConverter.convertTo(Collection<org.springframework.cloud.contract.spec.Contract> contracts) |
List<YamlContract> |
YamlContractConverter.read(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
protected byte[] |
YamlContractConverter.getBytes(YamlContract yamlContract) |
protected String |
YamlContractConverter.name(YamlContract contract) |
Modifier and Type | Method and Description |
---|---|
Map<String,byte[]> |
YamlContractConverter.store(List<YamlContract> contracts) |
Modifier and Type | Method and Description |
---|---|
M |
MessageVerifierReceiver.receive(String destination,
long timeout,
TimeUnit timeUnit,
YamlContract contract)
Receives the message from the given destination.
|
M |
MessageVerifierReceiver.receive(String destination,
YamlContract contract)
Receives the message from the given destination.
|
void |
MessageVerifierSender.send(M message,
String destination,
YamlContract contract)
Sends the message to the given destination.
|
<T> void |
MessageVerifierSender.send(T payload,
Map<String,Object> headers,
String destination,
YamlContract contract)
Sends the given payload with headers, to the given destination.
|
Modifier and Type | Method and Description |
---|---|
void |
SpringAmqpStubMessages.mergeMessagePropertiesFromMetadata(YamlContract contract,
org.springframework.amqp.core.Message message) |
org.springframework.amqp.core.Message |
SpringAmqpStubMessages.receive(String destination,
long timeout,
TimeUnit timeUnit,
YamlContract contract) |
org.springframework.amqp.core.Message |
SpringAmqpStubMessages.receive(String destination,
YamlContract contract) |
void |
SpringAmqpStubMessages.send(org.springframework.amqp.core.Message message,
String destination,
YamlContract contract) |
<T> void |
SpringAmqpStubMessages.send(T payload,
Map<String,Object> headers,
String destination,
YamlContract contract) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Message |
CamelStubMessages.receive(String destination,
long timeout,
TimeUnit timeUnit,
YamlContract contract) |
org.apache.camel.Message |
CamelStubMessages.receive(String destination,
YamlContract contract) |
void |
CamelStubMessages.send(org.apache.camel.Message message,
String destination,
YamlContract contract) |
<T> void |
CamelStubMessages.send(T payload,
Map<String,Object> headers,
String destination,
YamlContract contract) |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.Message<?> |
SpringIntegrationStubMessages.receive(String destination,
long timeout,
TimeUnit timeUnit,
YamlContract contract) |
org.springframework.messaging.Message<?> |
SpringIntegrationStubMessages.receive(String destination,
YamlContract contract) |
void |
SpringIntegrationStubMessages.send(org.springframework.messaging.Message<?> message,
String destination,
YamlContract contract) |
<T> void |
SpringIntegrationStubMessages.send(T payload,
Map<String,Object> headers,
String destination,
YamlContract contract) |
Modifier and Type | Method and Description |
---|---|
ContractVerifierMessage |
ContractVerifierMessaging.receive(String destination,
YamlContract contract) |
void |
ContractVerifierMessaging.send(ContractVerifierMessage message,
String destination,
YamlContract contract) |
Modifier and Type | Method and Description |
---|---|
Object |
NoOpStubMessages.receive(String destination,
long timeout,
TimeUnit timeUnit,
YamlContract contract) |
Object |
NoOpStubMessages.receive(String destination,
YamlContract contract) |
void |
NoOpStubMessages.send(Object message,
String destination,
YamlContract contract) |
<T> void |
NoOpStubMessages.send(T payload,
Map<String,Object> headers,
String destination,
YamlContract contract) |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.Message<?> |
StreamStubMessages.receive(String destination,
long timeout,
TimeUnit timeUnit,
YamlContract contract) |
org.springframework.messaging.Message<?> |
StreamStubMessages.receive(String destination,
YamlContract contract) |
void |
StreamStubMessages.send(org.springframework.messaging.Message<?> message,
String destination,
YamlContract contract) |
<T> void |
StreamStubMessages.send(T payload,
Map<String,Object> headers,
String destination,
YamlContract contract) |
Modifier and Type | Method and Description |
---|---|
static YamlContract |
ContractVerifierUtil.contract(Object testClass,
String relativePath)
Helper method to convert a file to bytes.
|
Copyright © 2016–2021 Spring. All rights reserved.