【发布时间】:2018-05-02 11:10:08
【问题描述】:
我在 Spring 集成流程中有一个休息请求。如何从消息中的payload或header中选择值并设置url的查询参数
.handle(Http.outboundGateway(UriComponentsBuilder.fromHttpUrl("localhost:8080).path("search").queryParam("order", "orderId").toUriString())
.httpMethod(HttpMethod.GET)
.expectedResponseType(Order.class))
在上面的代码中,我需要从payload中获取orderId
【问题讨论】:
标签: spring-integration spring-integration-dsl