2015-08-20 25 views
0
<int-http:outbound-gateway request-channel="searchRequest" 
    reply-channel="searchResponse" 
    http-method="GET" expected-response-type="java.lang.String" 
    mapped-response-headers="Content-Type" /> 

我看不到上面那个入站网关支持方法的属性,我们可以在一个网关中提供多种方法。有一种方法可以实现单个出站网关以支持多个http方法吗?支持单休息入站网关的多种HTTP方法

回答

0

这是一个出站网关。入站网关有supported-methods,这是一个以逗号分隔的方法名称列表。

请参阅the documentation

相关问题