@@ -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 {
|
||||
|
||||
/**
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user