@Configuration @EnableConfigurationProperties(value=HttpclientProcessorProperties.class) public class HttpclientProcessorFunctionConfiguration extends Object
Function
that makes requests to an HTTP resource and emits the
response body as a message payload.Modifier and Type | Field and Description |
---|---|
static String |
FUNCTION_NAME |
Constructor and Description |
---|
HttpclientProcessorFunctionConfiguration() |
Modifier and Type | Method and Description |
---|---|
HttpclientProcessorFunction |
httpRequest(org.springframework.web.client.RestTemplate restTemplate,
HttpclientProcessorProperties properties) |
org.springframework.web.client.RestTemplate |
restTemplate() |
public static final String FUNCTION_NAME
public HttpclientProcessorFunctionConfiguration()
@Bean public org.springframework.web.client.RestTemplate restTemplate()
@Bean(name="spring.cloud.streamapp.httpclient.processor") public HttpclientProcessorFunction httpRequest(org.springframework.web.client.RestTemplate restTemplate, HttpclientProcessorProperties properties)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.