【发布时间】:2015-10-27 19:34:59
【问题描述】:
我在流程中有一段进行了 ReST API 调用:
<int:channel id="requestChannel"/>
<int-http:outbound-gateway request-channel="requestChannel"
reply-channel="logger"
url="${api.base.uri}/data"
http-method="PUT"
expected-response-type="java.lang.String"/>
<int:logging-channel-adapter id="logger"
logger-name="logger"
expression="payload"
level="INFO"/>
我正在尝试使用 Java DSL 复制此内容,但找不到足够的文档。任何帮助将不胜感激。
【问题讨论】:
-
我不明白你的疑问,转换成 Java DSL?你的意思是领域特定语言?
-
@RafaelZeffa - 是的,请参考:github.com/spring-projects/spring-integration-java-dsl/wiki/…
-
谢谢..我不知道这个项目!
-
伙计们,给我几分钟时间为你们准备答案。
标签: java spring http spring-integration dsl