GH-473 Fix type discovery for generic parameters

Resolves #473
This commit is contained in:
Oleg Zhurakousky
2020-03-30 10:56:00 +02:00
parent 9434a68bd2
commit 86d12f3a84
4 changed files with 32 additions and 10 deletions

View File

@@ -20,12 +20,13 @@ import java.util.LinkedHashMap;
import java.util.Map;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.function.context.FunctionProperties;
/**
* @author Dave Syer
*
*/
@ConfigurationProperties("spring.cloud.function.web.export")
@ConfigurationProperties(prefix = FunctionProperties.PREFIX + ".web.export")
public class ExporterProperties {
/**

View File

@@ -175,7 +175,7 @@ public class SupplierExporter implements SmartLifecycle {
body = message.getPayload();
}
Mono<ClientResponse> result = this.client.post().uri(uri)
.headers(headers -> headers(headers, destination, value)).syncBody(body)
.headers(headers -> headers(headers, destination, value)).bodyValue(body)
.exchange();
if (this.debug) {
result = result.log();